From 74b5c1bbc3c840abeeac66c398615621f6ad4247 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 3 Jul 2015 16:59:37 +0200 Subject: [PATCH] luci-mod-admin-full: restart the firewall instead of reloading it Signed-off-by: Jo-Philipp Wich --- modules/luci-mod-admin-full/luasrc/controller/admin/status.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua b/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua index 2d81caf24..1ceb24d16 100644 --- a/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua +++ b/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua @@ -51,7 +51,7 @@ function action_iptables() luci.dispatcher.build_url("admin", "status", "iptables") ) elseif luci.http.formvalue("restart") == "1" then - luci.util.exec("/etc/init.d/firewall reload") + luci.util.exec("/etc/init.d/firewall restart") luci.http.redirect( luci.dispatcher.build_url("admin", "status", "iptables") ) -- 2.25.1