luci: add system feature flag for iptables
This commit is contained in:
parent
573299aa54
commit
04cda5a818
@ -213,6 +213,7 @@ const methods = {
|
|||||||
relayd: access('/usr/sbin/relayd') == true,
|
relayd: access('/usr/sbin/relayd') == true,
|
||||||
apk: access('/usr/bin/apk') == true,
|
apk: access('/usr/bin/apk') == true,
|
||||||
wifi: access('/sbin/wifi') == true,
|
wifi: access('/sbin/wifi') == true,
|
||||||
|
iptables: access('/usr/sbin/iptables') == true,
|
||||||
offload_hw: system((`[[ $(. /etc/openwrt_release ; echo $DISTRIB_TARGET) == "mediatek"* || $(. /etc/openwrt_release ; echo $DISTRIB_TARGET) == *"bcm"* ]]`)) == 0,
|
offload_hw: system((`[[ $(. /etc/openwrt_release ; echo $DISTRIB_TARGET) == "mediatek"* || $(. /etc/openwrt_release ; echo $DISTRIB_TARGET) == *"bcm"* ]]`)) == 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user