link executor: fix pre-up/post-down bug
This commit is contained in:
parent
d88d9b7de4
commit
8ef2815ef3
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -z "$VERBOSE" ] || set -x
|
[ -z "$VERBOSE" ] || set -x
|
||||||
${MOCK} ip link set $PHASE dev $IFACE
|
case "$PHASE" in
|
||||||
|
up|down) ${MOCK} ip link set $PHASE dev $IFACE ;;
|
||||||
|
esac
|
||||||
|
|
Loading…
Reference in a new issue