summaryrefslogtreecommitdiffstats
path: root/rc.d/net-profiles
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-04-11 02:07:20 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-04-11 11:40:18 +0200
commit7fab9eaf848004fd742e0513d620ced9ee7667a2 (patch)
tree2470a3a6643e5ae2cf3d89c50998b92cfffc86db /rc.d/net-profiles
parentfda34d4a6c03e919786b26876d6a9c051119db1d (diff)
downloadnetctl-7fab9eaf848004fd742e0513d620ced9ee7667a2.tar.gz
netctl-7fab9eaf848004fd742e0513d620ced9ee7667a2.tar.xz
Rewrite output hook to not depend on initscripts
/etc/rc.d/functions is owned by initscripts on which netcfg does not explicitly depend. The revised layout is inspired by systemd.
Diffstat (limited to 'rc.d/net-profiles')
-rwxr-xr-xrc.d/net-profiles3
1 files changed, 2 insertions, 1 deletions
diff --git a/rc.d/net-profiles b/rc.d/net-profiles
index be77bac..f8c0992 100755
--- a/rc.d/net-profiles
+++ b/rc.d/net-profiles
@@ -1,7 +1,8 @@
#!/bin/bash
-. /usr/lib/network/globals
. /etc/rc.conf
+. /etc/rc.d/functions
+. /usr/lib/network/globals
. /etc/conf.d/netcfg
case "$1" in