From 53a051ec9026ce430755792720401001ad2d2260 Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Fri, 31 Aug 2012 00:21:54 +0200 Subject: ifplugd path change (FS#31340) Needed after ifplugd: 0.28-12 update. --- rc.d/net-auto-wired | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rc.d') 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 -- cgit v1.2.3-24-g4f1b