mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 10:35:27 +00:00
(rc.d) forgot to scan /etc/rc.d/ (ipfw not loaded automatically)
This commit is contained in:
parent
319ae9c4b0
commit
355f08fb14
@ -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`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user