mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
fix sfe startup enable status
This commit is contained in:
parent
b25aefbffb
commit
15feef587d
@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for SFE
|
|||||||
LUCI_DEPENDS:=+kmod-fast-classifier
|
LUCI_DEPENDS:=+kmod-fast-classifier
|
||||||
LUCI_PKGARCH:=all
|
LUCI_PKGARCH:=all
|
||||||
PKG_VERSION:=1.0
|
PKG_VERSION:=1.0
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
include $(TOPDIR)/feeds/luci/luci.mk
|
include $(TOPDIR)/feeds/luci/luci.mk
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ end
|
|||||||
|
|
||||||
m = Map("sfe")
|
m = Map("sfe")
|
||||||
m.title = translate("Shortcut Forwarding Engine Acceleration Settings")
|
m.title = translate("Shortcut Forwarding Engine Acceleration Settings")
|
||||||
m.description = translate("Add an opensource Qualcomm Shortcut FE driver (Fast Path)")
|
m.description = translate("Opensource Qualcomm Shortcut FE driver (Fast Path)")
|
||||||
|
|
||||||
s = m:section(TypedSection, "sfe", "")
|
s = m:section(TypedSection, "sfe", "")
|
||||||
s.addremove = false
|
s.addremove = false
|
||||||
|
@ -10,7 +10,7 @@ msgstr "<strong><font color=\"red\">SFE 转发加速引擎未运行</font></stro
|
|||||||
msgid "Shortcut Forwarding Engine Acceleration Settings"
|
msgid "Shortcut Forwarding Engine Acceleration Settings"
|
||||||
msgstr "SFE 转发加速引擎设置"
|
msgstr "SFE 转发加速引擎设置"
|
||||||
|
|
||||||
msgid "Add an opensource Qualcomm Shortcut FE driver (Fast Path)"
|
msgid "Opensource Qualcomm Shortcut FE driver (Fast Path)"
|
||||||
msgstr "来自高通开源的 Shortcut FE 转发加速引擎 (Fast Path)"
|
msgstr "来自高通开源的 Shortcut FE 转发加速引擎 (Fast Path)"
|
||||||
|
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
|
@ -25,6 +25,9 @@ start(){
|
|||||||
echo "no ipv6"
|
echo "no ipv6"
|
||||||
rm -f /dev/sfe_ipv6
|
rm -f /dev/sfe_ipv6
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
rmmod fast_classifier
|
||||||
|
echo "stop"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user