diff --git a/luci/luci-app-qmodem-mwan/Makefile b/luci/luci-app-qmodem-mwan/Makefile index 5c1c59e..9efc1d9 100644 --- a/luci/luci-app-qmodem-mwan/Makefile +++ b/luci/luci-app-qmodem-mwan/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-qmodem-mwan LUCI_TITLE:=Luci qwrt modem mwan support LUCI_PKGARCH:=all -PKG_VERSION:=1 +PKG_VERSION:=2.4 PKG_LICENSE:=GPLv3 PKG_LINCESE_FILES:=LICENSE PKG_MAINTAINER:=Tom diff --git a/luci/luci-app-qmodem-mwan/luasrc/controller/qmodem_mwan.lua b/luci/luci-app-qmodem-mwan/luasrc/controller/qmodem_mwan.lua index 1ef33c2..d969ce0 100644 --- a/luci/luci-app-qmodem-mwan/luasrc/controller/qmodem_mwan.lua +++ b/luci/luci-app-qmodem-mwan/luasrc/controller/qmodem_mwan.lua @@ -1,7 +1,7 @@ module("luci.controller.qmodem_mwan", package.seeall) function index() - if not nixio.fs.access("/etc/config/modem_mwan") then + if not nixio.fs.access("/etc/config/qmodem_mwan") then return end --mwan配置 diff --git a/luci/luci-app-qmodem-mwan/luasrc/model/cbi/qmodem/mwan_config.lua b/luci/luci-app-qmodem-mwan/luasrc/model/cbi/qmodem/mwan_config.lua index 80d6437..ff11a59 100644 --- a/luci/luci-app-qmodem-mwan/luasrc/model/cbi/qmodem/mwan_config.lua +++ b/luci/luci-app-qmodem-mwan/luasrc/model/cbi/qmodem/mwan_config.lua @@ -5,7 +5,7 @@ local uci = luci.model.uci.cursor() local sys = require "luci.sys" local script_path="/usr/share/qmodem/" -m = Map("modem_mwan") +m = Map("qmodem_mwan") m.title = translate("Mwan Config") m.description = translate("Check and modify the mwan configuration") s = m:section(NamedSection, "global", "global", translate("gloal Config")) diff --git a/luci/luci-app-qmodem-mwan/po/zh-cn/modem_mwan.po b/luci/luci-app-qmodem-mwan/po/zh-cn/modem_mwan.po index df11a2f..1a2b10b 100644 --- a/luci/luci-app-qmodem-mwan/po/zh-cn/modem_mwan.po +++ b/luci/luci-app-qmodem-mwan/po/zh-cn/modem_mwan.po @@ -11,14 +11,20 @@ msgstr "粘性模式" msgid "sticky timeout" msgstr "粘性超时" -msgid "member_track_ip" +msgid "track_ip" msgstr "成员跟踪IP" -msgid "member_interface" +msgid "Interface" msgstr "成员接口" -msgid "member_priority" +msgid "Priority" msgstr "成员优先级" -msgid "member_weight" +msgid "Weight" msgstr "成员权重" + +msgid "Mwan Config" +msgstr "mwan配置" + +msgid "IPV4 Config" +msgstr "IPV4配置" diff --git a/luci/luci-app-qmodem-mwan/po/zh_Hans/modem_mwan.po b/luci/luci-app-qmodem-mwan/po/zh_Hans/modem_mwan.po index 7e4e6e8..1a2b10b 100644 --- a/luci/luci-app-qmodem-mwan/po/zh_Hans/modem_mwan.po +++ b/luci/luci-app-qmodem-mwan/po/zh_Hans/modem_mwan.po @@ -11,7 +11,7 @@ msgstr "粘性模式" msgid "sticky timeout" msgstr "粘性超时" -msgid "member_track_ip" +msgid "track_ip" msgstr "成员跟踪IP" msgid "Interface" @@ -22,3 +22,9 @@ msgstr "成员优先级" msgid "Weight" msgstr "成员权重" + +msgid "Mwan Config" +msgstr "mwan配置" + +msgid "IPV4 Config" +msgstr "IPV4配置" diff --git a/luci/luci-app-qmodem-mwan/root/usr/share/qmodem/modem_mwan.sh b/luci/luci-app-qmodem-mwan/root/usr/share/qmodem/modem_mwan.sh index adc2dcb..770693c 100755 --- a/luci/luci-app-qmodem-mwan/root/usr/share/qmodem/modem_mwan.sh +++ b/luci/luci-app-qmodem-mwan/root/usr/share/qmodem/modem_mwan.sh @@ -138,7 +138,7 @@ handle_config() /etc/init.d/mwan3 stop flush_config uci commit mwan3 -config_load modem_mwan +config_load qmodem_mwan family=$1 case $2 in "start")