mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
rc: the trusty rc.opnsense couldn't cope with subdirs
This commit is contained in:
parent
528866c5d0
commit
7094a5cd3b
@ -4,8 +4,8 @@
|
||||
if [ -f /etc/rc.conf ]; then
|
||||
. /etc/rc.conf
|
||||
fi
|
||||
for RC_CONF in $(ls /etc/rc.conf.d); do
|
||||
. /etc/rc.conf.d/${RC_CONF}
|
||||
for RC_CONF in $(find /etc/rc.conf.d -type f); do
|
||||
. ${RC_CONF}
|
||||
done
|
||||
|
||||
# probe all deamons in /usr/local/etc/rc.d/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user