init: fix boot action in init script
authorJo-Philipp Wich <jo@mein.io>
Mon, 7 Feb 2022 18:01:04 +0000 (19:01 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 7 Feb 2022 18:01:30 +0000 (19:01 +0100)
We need to call `start()` instead of `start_service()` from `boot()` in
order to properly register the firewall service.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
root/etc/init.d/firewall

index f4bdd99fc5d72518714779163293c2d2b77712fa..b555a63e93acd3d65b4b372b1e3ada4ea606c659 100755 (executable)
@@ -28,5 +28,5 @@ boot() {
        # Be silent on boot, firewall might be started by hotplug already,
        # so don't complain in syslog.
        QUIET=-q
-       start_service
+       start
 }