Skip to content

Commit b14742d

Browse files
committed
luci-app-qmodem: change start delay value from 0 to 99
1 parent 1521dec commit b14742d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ 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"))
12+
start_delay = s:option(Value, "start_delay", translate("Delay Start"))
1313
start_delay.description = translate("Units:seconds")
14+
start_delay.datatype = "and(uinteger,min(0),max(99))"
1415
start_delay.default = "0"
1516

1617
block_auto_probe = s:option(Flag, "block_auto_probe", translate("Block Auto Probe/Remove"))

0 commit comments

Comments
 (0)