Browse Source

p910nd: Change start init sequence to 99

Delay startup of p910nd to give devices more time to enumerate
Fixes issue #4752

Tested on mir3g
Signed-off-by: Francesco Molitierno <francyesc0@hotmail.it>
lilik-openwrt-22.03
Francesco Molitierno 6 years ago
committed by Yousong Zhou
parent
commit
a9072f7a1a
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      net/p910nd/Makefile
  2. +2
    -1
      net/p910nd/files/p910nd.init

+ 1
- 1
net/p910nd/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=p910nd PKG_NAME:=p910nd
PKG_VERSION:=0.97 PKG_VERSION:=0.97
PKG_RELEASE:=5
PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/p910nd PKG_SOURCE_URL:=@SF/p910nd


+ 2
- 1
net/p910nd/files/p910nd.init View File

@ -1,6 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2007 OpenWrt.org # Copyright (C) 2007 OpenWrt.org
START=50
START=99
USE_PROCD=1 USE_PROCD=1
append_bool() { append_bool() {
@ -40,6 +40,7 @@ start_p910nd() {
append_string "$section" port "" append_string "$section" port ""
procd_open_instance $name procd_open_instance $name
procd_set_param command /usr/sbin/p910nd $args procd_set_param command /usr/sbin/p910nd $args
procd_set_param respawn
procd_close_instance procd_close_instance
fi fi
} }

Loading…
Cancel
Save