summaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-08-31 00:21:54 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-08-31 00:21:54 +0200
commit53a051ec9026ce430755792720401001ad2d2260 (patch)
treece7a7fc2178c86d603165b4011e340811be720d4 /rc.d
parentbba8d3f50075695c3fb1d1bb6d623c1f6d41b7c0 (diff)
downloadnetctl-53a051ec9026ce430755792720401001ad2d2260.tar.gz
netctl-53a051ec9026ce430755792720401001ad2d2260.tar.xz
ifplugd path change (FS#31340)
Needed after ifplugd: 0.28-12 update.
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/net-auto-wired6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/net-auto-wired b/rc.d/net-auto-wired
index 86ccd2d..807bb22 100755
--- a/rc.d/net-auto-wired
+++ b/rc.d/net-auto-wired
@@ -5,7 +5,7 @@
. /usr/lib/network/globals
. /etc/conf.d/netcfg
-if [[ ! -x /usr/sbin/ifplugd ]]; then
+if [[ ! -x /usr/bin/ifplugd ]]; then
exit_stderr "Please install 'ifplugd' to use net-auto-wired"
fi
@@ -30,7 +30,7 @@ case "$1" in
stat_busy "Starting netcfg auto-wired mode for interface ${WIRED_INTERFACE}"
A="`eval echo \$\{ARGS_${WIRED_INTERFACE}\}`"
[[ "$A" ]] || A="$ARGS"
- [[ "$PID" ]] || /usr/sbin/ifplugd -i $WIRED_INTERFACE -r $ACTION $A
+ [[ "$PID" ]] || /usr/bin/ifplugd -i $WIRED_INTERFACE -r $ACTION $A
# ifplugd may return non-zero, but still succeed if -w is passed, as default in upstream config.
sleep 1
if [[ -f $PIDFILE ]]; then
@@ -43,7 +43,7 @@ case "$1" in
stop)
if ! ck_daemon net-auto-wired; then
stat_busy "Stopping netcfg auto-wired mode for interface ${WIRED_INTERFACE}"
- if [[ "$PID" ]] && /usr/sbin/ifplugd -k -i $WIRED_INTERFACE -r $ACTION; then
+ if [[ "$PID" ]] && /usr/bin/ifplugd -k -i $WIRED_INTERFACE -r $ACTION; then
rm_daemon net-auto-wired
stat_done
else