Signed-off-by: Michael Tremer --- src/initscripts/networking/dhcpcd.exe | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/initscripts/networking/dhcpcd.exe b/src/initscripts/networking/dhcpcd.exe index 22ea9aaf7..ee4b00dbd 100644 --- a/src/initscripts/networking/dhcpcd.exe +++ b/src/initscripts/networking/dhcpcd.exe @@ -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 -- 2.30.2