diff mbox series

[v2,4/5] firewall: use new restart_service callback

Message ID 20201217093537.22653-5-fe@dev.tdt.de
State New
Headers show
Series ubus: extend the service object with a restart method | expand

Commit Message

Florian Eckert Dec. 17, 2020, 9:35 a.m. UTC
In order that the prcod restart service can also be triggered during a
firewall restart, this call function must be changed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
---
 package/network/config/firewall/files/firewall.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/package/network/config/firewall/files/firewall.init b/package/network/config/firewall/files/firewall.init
index 4c2fb7b617..089b02bb4c 100755
--- a/package/network/config/firewall/files/firewall.init
+++ b/package/network/config/firewall/files/firewall.init
@@ -37,7 +37,7 @@  service_triggers() {
 	procd_close_validate
 }
 
-restart() {
+restart_service() {
 	fw3 restart
 }