diff options
Diffstat (limited to 'rootfs/etc/ifplugd')
-rwxr-xr-x | rootfs/etc/ifplugd/ifplugd.action | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rootfs/etc/ifplugd/ifplugd.action b/rootfs/etc/ifplugd/ifplugd.action index 05db65d..e5b35ec 100755 --- a/rootfs/etc/ifplugd/ifplugd.action +++ b/rootfs/etc/ifplugd/ifplugd.action @@ -5,5 +5,5 @@ NEW_STATE="$2" test -n "$INTERFACE" test -n "$NEW_STATE" -[ "$NEW_STATE" = "up" ] && exec ifup "$INTERFACE" -[ "$NEW_STATE" = "down" ] && exec ifdown "$INTERFACE" +exec ip link set "$INTERFACE" "$NEW_STATE" + |