p910nd: Change start init sequence to 99
authorFrancesco Molitierno <[email protected]>
Mon, 23 Jul 2018 19:22:12 +0000 (21:22 +0200)
committerYousong Zhou <[email protected]>
Sun, 29 Jul 2018 05:50:28 +0000 (13:50 +0800)
Delay startup of p910nd to give devices more time to enumerate
Fixes issue #4752

Tested on mir3g
Signed-off-by: Francesco Molitierno <[email protected]>
net/p910nd/Makefile
net/p910nd/files/p910nd.init

index d5269cc039c55280738e21ca2906b882384d68a8..806748aec8a39f08c1baf3fa97b5e7c4c6cef635 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=p910nd
 PKG_VERSION:=0.97
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@SF/p910nd
index f0289036e6694d63b34628b6077d6e4d6a3705b9..57e4c5209480781ac5b607d5b76c93b18bbd7d4c 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh /etc/rc.common
 # Copyright (C) 2007 OpenWrt.org
-START=50
+START=99
 USE_PROCD=1
 
 append_bool() {
@@ -40,6 +40,7 @@ start_p910nd() {
                append_string "$section" port ""
                procd_open_instance $name
                procd_set_param command /usr/sbin/p910nd $args
+               procd_set_param respawn
                procd_close_instance
        fi
 }