From 48599d8d1dbb1f9f2777d74c2a873aa9c873b7eb Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Thu, 4 Nov 2021 04:01:43 +0200 Subject: luci-app-firewall: initial firewall4 compatibility Initial changes required for firewall4 compatibility: * depend on uc-firewall instead of firewall * detect installed version of firewall and hide incompatible features Signed-off-by: Stijn Tintel Reviewed-by: Jo-Philipp Wich --- modules/luci-base/root/usr/libexec/rpcd/luci | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/luci-base/root/usr/libexec') diff --git a/modules/luci-base/root/usr/libexec/rpcd/luci b/modules/luci-base/root/usr/libexec/rpcd/luci index 19cdb0ad39..fbfc3c7a59 100755 --- a/modules/luci-base/root/usr/libexec/rpcd/luci +++ b/modules/luci-base/root/usr/libexec/rpcd/luci @@ -207,6 +207,7 @@ local methods = { local ok, fd rv.firewall = fs.access("/sbin/fw3") + rv.firewall4 = fs.access("/sbin/fw4") rv.opkg = fs.access("/bin/opkg") rv.offloading = fs.access("/sys/module/xt_FLOWOFFLOAD/refcnt") rv.br2684ctl = fs.access("/usr/sbin/br2684ctl") -- cgit v1.2.3