#!/bin/sh [ $# = "0" ] && exit 0 if [ -r /etc/defaults/rc.conf ] then . /etc/defaults/rc.conf source_rc_confs elif [ -r /etc/rc.conf ] then . /etc/rc.conf fi for arg in $* do echo $(eval echo \$`echo $arg`) done