aboutsummaryrefslogtreecommitdiff
path: root/rootfs/etc/ifplugd/ifplugd.action
blob: e5b35ec5ac228ea511b18bd79cb5a4696cb6ee22 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh -e
INTERFACE="$1"
NEW_STATE="$2"

test -n "$INTERFACE"
test -n "$NEW_STATE"

exec ip link set "$INTERFACE" "$NEW_STATE"