Commit 7094a5cd authored by Franco Fichtner's avatar Franco Fichtner

rc: the trusty rc.opnsense couldn't cope with subdirs

parent 528866c5
......@@ -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/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment