From d31f8614a3dc155fa42c3b20fce6abbae79c703e Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Thu, 20 Aug 2020 02:33:38 -0600 Subject: [PATCH] gre executor: fix dependency learning --- executor-scripts/linux/gre | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/executor-scripts/linux/gre b/executor-scripts/linux/gre index 7006d4c..c747aab 100755 --- a/executor-scripts/linux/gre +++ b/executor-scripts/linux/gre @@ -4,7 +4,7 @@ [ -z "$IF_GRE_LOCAL" ] && exit 1 [ -z "$IF_GRE_REMOTE" ] && exit 1 -[ -z "$IF_GRE_MODE" ] && exit 1 +[ -z "$IF_GRE_MODE" ] && IF_GRE_MODE="gre" COMMAND="link" FAMILY="-4" @@ -24,6 +24,6 @@ post-down) ${MOCK} ip $FAMILY $COMMAND del $IFACE ;; depend) - echo "$IF_TUNNEL_DEV" + echo "$IF_GRE_DEV" ;; esac