mirror of
https://github.com/coolsnowwolf/luci
synced 2025-01-07 07:06:41 +08:00
luci-app-eqos: make working with mtkhnat
This commit is contained in:
parent
f68ab8e4bf
commit
4898ed2834
@ -14,7 +14,7 @@ LUCI_PKGARCH:=all
|
||||
|
||||
PKG_NAME:=luci-app-eqos
|
||||
PKG_VERSION:=1.0.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_MAINTAINER:=Jianhui Zhao <jianhuizhao329@gmail.com>
|
||||
|
||||
|
@ -29,6 +29,11 @@ eqos_start() {
|
||||
|
||||
start() {
|
||||
eqos stop
|
||||
[ -f /etc/init.d/hwacc ] && {
|
||||
uci set hwacc.mtk.enabled='0'
|
||||
uci commit hwacc
|
||||
/etc/init.d/hwacc start
|
||||
}
|
||||
|
||||
config_load eqos
|
||||
config_foreach eqos_start eqos
|
||||
@ -36,4 +41,9 @@ start() {
|
||||
|
||||
stop() {
|
||||
eqos stop
|
||||
[ -f /etc/init.d/hwacc ] && {
|
||||
uci set hwacc.mtk.enabled='1'
|
||||
uci commit hwacc
|
||||
/etc/init.d/hwacc start
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user