diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-04-11 02:07:20 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-04-11 11:40:18 +0200 |
commit | 7fab9eaf848004fd742e0513d620ced9ee7667a2 (patch) | |
tree | 2470a3a6643e5ae2cf3d89c50998b92cfffc86db /rc.d/net-profiles | |
parent | fda34d4a6c03e919786b26876d6a9c051119db1d (diff) | |
download | netctl-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-x | rc.d/net-profiles | 3 |
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 |