dhcp: react to $PHASE not legacy $MODE
This commit is contained in:
parent
96392f0dd1
commit
00c1d0f58c
1 changed files with 4 additions and 4 deletions
|
@ -50,8 +50,8 @@ impl=$(determine_implementation)
|
||||||
|
|
||||||
[ -z "$VERBOSE" ] || set -x
|
[ -z "$VERBOSE" ] || set -x
|
||||||
|
|
||||||
case "$MODE" in
|
case "$PHASE" in
|
||||||
start) start $impl ;;
|
up) start $impl ;;
|
||||||
stop) stop $impl ;;
|
down) stop $impl ;;
|
||||||
*) echo "unknown mode $MODE" ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue