(rc.d) forgot to scan /etc/rc.d/ (ipfw not loaded automatically)

This commit is contained in:
Ad Schellevis 2015-10-26 13:00:14 +00:00
parent 319ae9c4b0
commit 355f08fb14

View File

@ -9,7 +9,7 @@ for RC_CONF in $(ls /etc/rc.conf.d); do
done
# probe all deamons in /usr/local/etc/rc.d/
ls /usr/local/etc/rc.d/* | while read rc_filename; do
ls /usr/local/etc/rc.d/* /etc/rc.d/* | while read rc_filename; do
# read rc scripts and parse name and rcvar variables
_file=`basename $rc_filename`
eval `/usr/bin/grep "name[[:blank:]]*=" $rc_filename | /usr/bin/head -n 1`