From 8ef2815ef3801de94c7cbf6e5c4b8831bcff1d5b Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sun, 26 Jul 2020 07:41:27 -0600 Subject: [PATCH] link executor: fix pre-up/post-down bug --- executor-scripts/linux/link | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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