From a9072f7a1ad263c909d049c81eaae35bb89ccf08 Mon Sep 17 00:00:00 2001 From: Francesco Molitierno Date: Mon, 23 Jul 2018 21:22:12 +0200 Subject: [PATCH] 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 --- net/p910nd/Makefile | 2 +- net/p910nd/files/p910nd.init | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/net/p910nd/Makefile b/net/p910nd/Makefile index d5269cc03..806748aec 100644 --- a/net/p910nd/Makefile +++ b/net/p910nd/Makefile @@ -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 diff --git a/net/p910nd/files/p910nd.init b/net/p910nd/files/p910nd.init index f0289036e..57e4c5209 100644 --- a/net/p910nd/files/p910nd.init +++ b/net/p910nd/files/p910nd.init @@ -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 }