summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/net-auto-wired6
-rw-r--r--systemd/net-auto-wired.service2
2 files changed, 4 insertions, 4 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
diff --git a/systemd/net-auto-wired.service b/systemd/net-auto-wired.service
index 9678a77..7bb885d 100644
--- a/systemd/net-auto-wired.service
+++ b/systemd/net-auto-wired.service
@@ -3,7 +3,7 @@ Description=Provides automatic netcfg wired connection
[Service]
EnvironmentFile=/etc/conf.d/netcfg
-ExecStart=/usr/sbin/ifplugd -i $WIRED_INTERFACE -r /etc/ifplugd/netcfg.action -fIns
+ExecStart=/usr/bin/ifplugd -i $WIRED_INTERFACE -r /etc/ifplugd/netcfg.action -fIns
ExecStop=/usr/bin/netcfg iface-down $WIRED_INTERFACE
[Install]