aboutsummaryrefslogtreecommitdiff
path: root/sh/init.sh.BSD.in
diff options
context:
space:
mode:
Diffstat (limited to 'sh/init.sh.BSD.in')
-rw-r--r--sh/init.sh.BSD.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/sh/init.sh.BSD.in b/sh/init.sh.BSD.in
index 2a53dcd8..5912a95a 100644
--- a/sh/init.sh.BSD.in
+++ b/sh/init.sh.BSD.in
@@ -23,6 +23,11 @@ mount_svcdir()
. "$RC_LIBEXECDIR"/sh/functions.sh
[ -r "@SYSCONFDIR@/rc.conf" ] && . "@SYSCONFDIR@/rc.conf"
+if [ -d "@SYSCONFDIR@/rc.conf.d" ]; then
+ for _f in "@SYSCONFDIR@"/rc.conf.d/*.conf; do
+ [ -r "$_f" ] && . "$_f"
+ done
+fi
# Disable devd until we need it
if [ -z "$RC_SYS" -a "$RC_UNAME" = "FreeBSD" ]; then