diff options
Diffstat (limited to 'sh/openrc-run.sh.in')
-rw-r--r-- | sh/openrc-run.sh.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sh/openrc-run.sh.in b/sh/openrc-run.sh.in index 8aba4e0e..749af2cc 100644 --- a/sh/openrc-run.sh.in +++ b/sh/openrc-run.sh.in @@ -184,6 +184,12 @@ unset _conf_d # Load any system overrides sourcex -e "@SYSCONFDIR@/rc.conf" +if [ -d "@SYSCONFDIR@/rc.conf.d" ]; then + for _f in "@SYSCONFDIR@"/rc.conf.d/*.conf; do + sourcex -e "$_f" + done +fi + # load service supervisor functions sourcex "@LIBEXECDIR@/sh/s6.sh" |