diff --git a/executor-scripts/linux/link b/executor-scripts/linux/link index 9d1389a..8bb9d62 100755 --- a/executor-scripts/linux/link +++ b/executor-scripts/linux/link @@ -1,3 +1,5 @@ #!/bin/sh [ -z "$VERBOSE" ] || set -x -${MOCK} ip link set $PHASE dev $IFACE +case "$PHASE" in +up|down) ${MOCK} ip link set $PHASE dev $IFACE ;; +esac