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 @@ ...@@ -4,8 +4,8 @@
if [ -f /etc/rc.conf ]; then if [ -f /etc/rc.conf ]; then
. /etc/rc.conf . /etc/rc.conf
fi fi
for RC_CONF in $(ls /etc/rc.conf.d); do for RC_CONF in $(find /etc/rc.conf.d -type f); do
. /etc/rc.conf.d/${RC_CONF} . ${RC_CONF}
done done
# probe all deamons in /usr/local/etc/rc.d/ # 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