Update executors to reflect new create/destroy phase.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
Maximilian Wilhelm 2020-09-10 00:48:35 +02:00
parent e6c6f49143
commit af94d760d0
7 changed files with 37 additions and 18 deletions

View file

@ -37,10 +37,10 @@ PARAMS=$(set | sed -E '
[ "$PARAMS" ] || exit 0
case "$PHASE" in
pre-up)
create)
${MOCK} eval ip $FAMILY $COMMAND add $IFACE $PARAMS
;;
post-down)
destroy)
${MOCK} ip $FAMILY $COMMAND del $IFACE
;;
depend)