summaryrefslogtreecommitdiffstats
path: root/rc.d/net-rename
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-rename
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-rename')
-rwxr-xr-xrc.d/net-rename2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/net-rename b/rc.d/net-rename
index 1a51ffe..42dfa23 100755
--- a/rc.d/net-rename
+++ b/rc.d/net-rename
@@ -1,5 +1,7 @@
#!/bin/bash
+. /etc/rc.conf
+. /etc/rc.d/functions
. /usr/lib/network/globals
case "$1" in