Update executors to reflect new create/destroy phase.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
parent
e6c6f49143
commit
af94d760d0
7 changed files with 37 additions and 18 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue