diff --git a/src/etc/rc.opnsense b/src/etc/rc.opnsense index b0e22fe84..c3ab528db 100755 --- a/src/etc/rc.opnsense +++ b/src/etc/rc.opnsense @@ -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/