gre executor: fix dependency learning

This commit is contained in:
Ariadne Conill 2020-08-20 02:33:38 -06:00
parent 8f057286d3
commit d31f8614a3

View file

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