What does everyone think about using this at the end of
/etc/defaults/rc.conf?
for i in ${rc_conf_files}; do
if [ $0 != $i ]; then
if [ -f $i ]; then
. $i
fi
else
echo "Error: $0 isn't allowed to re-load $i."
echo "Error: Please do not copy /etc/defaults/rc.conf to
/etc/rc.conf"
fi
done
If someone does copy the /etc/defaults/rc.conf to /etc/rc.conf, /etc/rc.conf
will not reload it's self, thus it will never get stuck in an endless loop.
Scot
To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-current" in the body of the message