Skip to content

Commit 1521dec

Browse files
committed
luci-app-qmodem: add delay start luci option setting
1 parent 5df4b59 commit 1521dec

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed

luci/luci-app-qmodem/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PKG_NAME:=luci-app-qmodem
77
LUCI_TITLE:=LuCI support for QWRT Modem
88
LUCI_PKGARCH:=all
99
PKG_VERSION:=2.8.3
10-
PKG_RELEASE:=1
10+
PKG_RELEASE:=2
1111
PKG_LICENSE:=GPLv3
1212
PKG_LINCESE_FILES:=LICENSE
1313
PKG_MAINTAINER:=Tom <fjrcn@outlook.com>

luci/luci-app-qmodem/luasrc/model/cbi/qmodem/settings.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ s = m:section(NamedSection, "main", "main", translate("Modem Probe setting"))
99
at_tool = s:option(Flag, "at_tool", translate("Alternative AT Tools"))
1010
at_tool.description = translate("If enabled, using alternative AT Tools")
1111

12+
start_delay = s:option(Flag, "start_delay", translate("Delay Start"))
13+
start_delay.description = translate("Units:seconds")
14+
start_delay.default = "0"
15+
1216
block_auto_probe = s:option(Flag, "block_auto_probe", translate("Block Auto Probe/Remove"))
1317
block_auto_probe.description = translate("If enabled, the modem auto scan will be blocked.")
1418

luci/luci-app-qmodem/po/zh-cn/qmodem.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,3 +866,9 @@ msgstr "使用替代的AT工具"
866866

867867
msgid "If enabled, using alternative AT Tools"
868868
msgstr "如果启用了,会使用另外替代的AT工具查询模块信息"
869+
870+
msgid "Delay Start"
871+
msgstr "开机时延时启动(扫描)"
872+
873+
msgid "Units:seconds"
874+
msgstr "单位:秒"

luci/luci-app-qmodem/po/zh_Hans/qmodem.po

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,4 +855,16 @@ msgid "V4/V6 Connect Check"
855855
msgstr "V4/V6 存活检测"
856856

857857
msgid "Only for AT dial modem."
858-
msgstr "只适用于AT拨号模组。"
858+
msgstr "只适用于AT拨号模组。"
859+
860+
msgid "Alternative AT Tools"
861+
msgstr "使用替代的AT工具"
862+
863+
msgid "If enabled, using alternative AT Tools"
864+
msgstr "如果启用了,会使用另外替代的AT工具查询模块信息"
865+
866+
msgid "Delay Start"
867+
msgstr "开机时延时启动(扫描)"
868+
869+
msgid "Units:seconds"
870+
msgstr "单位:秒"

0 commit comments

Comments
 (0)