tunnel executor: support mocking
This commit is contained in:
parent
953666f1fb
commit
5fb1b4b26c
1 changed files with 2 additions and 2 deletions
|
@ -19,10 +19,10 @@ PARAMS=$(set | sed -E '
|
||||||
|
|
||||||
case "$PHASE" in
|
case "$PHASE" in
|
||||||
pre-up)
|
pre-up)
|
||||||
eval ip tunnel add $IFACE $PARAMS
|
${MOCK} eval ip tunnel add $IFACE $PARAMS
|
||||||
;;
|
;;
|
||||||
post-down)
|
post-down)
|
||||||
ip tunnel del $IFACE
|
${MOCK} ip tunnel del $IFACE
|
||||||
;;
|
;;
|
||||||
depend)
|
depend)
|
||||||
echo "$IF_TUNNEL_DEV"
|
echo "$IF_TUNNEL_DEV"
|
||||||
|
|
Loading…
Reference in a new issue