where are /usr/local/etc/rc.d init scripts run from?
Michael P. Soulier
msoulier at digitaltorque.ca
Sat Dec 23 15:15:41 PST 2006
I was looking in /etc/rc, and it's obvious to see where the /etc/rc.d
scripts are run from.
skip="-s nostart"
[ `/sbin/sysctl -n security.jail.jailed` -eq 1 ] && skip="$skip -s nojail"
files=`rcorder ${skip} /etc/rc.d/* 2>/dev/null`
for _rc_elem in ${files}; do
run_rc_script ${_rc_elem} ${_boot}
done
So rcorder is run over /etc/rc.d/*.
When is the same done for /usr/local/etc/rc.d/*?
Thanks,
Mike
--
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
More information about the freebsd-questions
mailing list