link executor: fix pre-up/post-down bug

This commit is contained in:
Ariadne Conill 2020-07-26 07:41:27 -06:00
parent d88d9b7de4
commit 8ef2815ef3

View file

@ -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