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

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}

So rcorder is run over /etc/rc.d/*.

When is the same done for /usr/local/etc/rc.d/*?

Michael P. Soulier <>
"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: <>