add system feature flag for shortcut-fe

This commit is contained in:
Bard 2023-08-09 12:34:32 +08:00 committed by GitHub
parent 5e1751397d
commit f0fb9596e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,6 +198,7 @@ const methods = {
opkg: access('/bin/opkg') == true,
offloading: access('/sys/module/xt_FLOWOFFLOAD/refcnt') == true || access('/sys/module/nft_flow_offload/refcnt') == true,
fullcone: access('/sys/module/xt_FULLCONENAT/refcnt') == true || access('/sys/module/nft_fullcone/refcnt') == true,
shortcutfe: access('/sys/module/shortcut_fe/refcnt') == true,
br2684ctl: access('/usr/sbin/br2684ctl') == true,
swconfig: access('/sbin/swconfig') == true,
odhcpd: access('/usr/sbin/odhcpd') == true,