diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2021-11-04 04:01:43 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2022-01-06 15:03:57 +0200 |
commit | 48599d8d1dbb1f9f2777d74c2a873aa9c873b7eb (patch) | |
tree | aab4307320af4e7bc1dd33974e12fa6c308e6e1b /modules/luci-base/root/usr/libexec | |
parent | dc0ed9ca93c842d48613003e6f47b66c373e7148 (diff) |
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 <stijn@linux-ipv6.be>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/root/usr/libexec')
-rwxr-xr-x | modules/luci-base/root/usr/libexec/rpcd/luci | 1 |
1 files changed, 1 insertions, 0 deletions
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") |