]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
dhcpcd.exe: Reformat the reason dispatcher
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 Dec 2022 17:23:12 +0000 (17:23 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 17 Dec 2022 17:20:46 +0000 (17:20 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/networking/dhcpcd.exe

index 22ea9aaf7a791d63c79b1e04b907f767b7457a3f..ee4b00dbdee510230576b9741a93d13dfbc09f5d 100644 (file)
@@ -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