gre executor: fix dependency learning
This commit is contained in:
parent
8f057286d3
commit
d31f8614a3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue