File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ include $(TOPDIR)/rules.mk
6
6
PKG_NAME: =luci-app-qmodem
7
7
LUCI_TITLE: =LuCI support for QWRT Modem
8
8
LUCI_PKGARCH: =all
9
- PKG_VERSION: =2.8.2
10
- PKG_RELEASE: =2
9
+ PKG_VERSION: =2.8.3
10
+ PKG_RELEASE: =1
11
11
PKG_LICENSE: =GPLv3
12
12
PKG_LINCESE_FILES: =LICENSE
13
13
PKG_MAINTAINER: =Tom <fjrcn@outlook.com>
Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ config main 'main'
3
3
option try_preset_usb "1"
4
4
option try_preset_pcie "1"
5
5
option enable_pcie_scan '1'
6
+ option start_delay '0'
Original file line number Diff line number Diff line change @@ -36,6 +36,16 @@ start_service() {
36
36
fi
37
37
}
38
38
39
+ boot () {
40
+ local delay=$( uci -q get qmodem.main.start_delay || echo 0)
41
+ if [ " $delay " -gt 0 ]; then
42
+ logger " Delay QModem Boot init scan for $delay S"
43
+ sleep $delay
44
+ /usr/share/qmodem/modem_scan.sh scan > /dev/null 2>&1 &
45
+ fi
46
+ start
47
+ }
48
+
39
49
_try_vendor_preset_usb ()
40
50
{
41
51
config_foreach _try_usb_device modem-device
You can’t perform that action at this time.
0 commit comments