diff options
Diffstat (limited to 'net-scripts/net.modules.d/helpers.d/module-loader')
-rw-r--r-- | net-scripts/net.modules.d/helpers.d/module-loader | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net-scripts/net.modules.d/helpers.d/module-loader b/net-scripts/net.modules.d/helpers.d/module-loader index 1434bbb..3fac7bf 100644 --- a/net-scripts/net.modules.d/helpers.d/module-loader +++ b/net-scripts/net.modules.d/helpers.d/module-loader @@ -4,10 +4,12 @@ # Contributed by Roy Marples (uberlord@gentoo.org) -[[ -z ${MODULES_DIR} ]] && MODULES_DIR="/lib/rcscripts/net.modules.d" +. "${svclib}/sh/rc-services.sh" + +MODULES_DIR="${svclib}/net.modules.d" . "${MODULES_DIR}/system" -. /lib/rcscripts/sh/rc-services.sh . "${MODULES_DIR}/helpers.d/functions" + conf=$(add_suffix "/etc/conf.d/net") [[ -e ${conf} ]] && source "${conf}" |