mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
dhcpcd.exe: Reformat the reason dispatcher
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
1f568cc0ed
commit
e3da491238
@@ -175,13 +175,17 @@ setup_qmi() {
|
||||
return 0
|
||||
}
|
||||
|
||||
case "$reason" in
|
||||
BOUND|INFORM|REBIND|REBOOT|RENEW|TIMEOUT|STATIC) dhcpcd_up;;
|
||||
PREINIT|EXPIRE|FAIL|IPV4LL|NAK|RELEASE|STOP) dhcpcd_down;;
|
||||
3RDPARTY)
|
||||
dhcpcd_3rdparty
|
||||
;;
|
||||
*)
|
||||
logger -p "local0.info" -t "dhcpcd.exe[$$]" "Unhandled DHCP event: ${reason}"
|
||||
;;
|
||||
case "${reason}" in
|
||||
BOUND|INFORM|REBIND|REBOOT|RENEW|TIMEOUT|STATIC)
|
||||
dhcpcd_up
|
||||
;;
|
||||
PREINIT|EXPIRE|FAIL|IPV4LL|NAK|RELEASE|STOP)
|
||||
dhcpcd_down
|
||||
;;
|
||||
3RDPARTY)
|
||||
dhcpcd_3rdparty
|
||||
;;
|
||||
*)
|
||||
logger -p "local0.info" -t "dhcpcd.exe[$$]" "Unhandled DHCP event: ${reason}"
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user