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

Florian Eckert fe at dev.tdt.de
Thu Dec 17 04:35:36 EST 2020


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 at dev.tdt.de>
---
 package/network/config/firewall/files/firewall.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 }
 
-- 
2.20.1




More information about the openwrt-devel mailing list