Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2006 18:15:39 -0500
From:      "Michael P. Soulier" <msoulier@digitaltorque.ca>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   where are /usr/local/etc/rc.d init scripts run from?
Message-ID:  <fb6605670612231515v7f05acdbxc0bebf5e009fd6ff@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
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@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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?fb6605670612231515v7f05acdbxc0bebf5e009fd6ff>