qmodem_mwan: update to 2.4
This commit is contained in:
parent
608068e8aa
commit
75b00ad12b
@ -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 <fjrcn@outlook.com>
|
||||
|
@ -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配置
|
||||
|
@ -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"))
|
||||
|
@ -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配置"
|
||||
|
@ -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配置"
|
||||
|
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user