Compile tested: (ramips, rb760igs, 23.05 snapshot)
Run tested: (ramips, rb760igs, 23.05 snapshot, tests done)
Description:
In case we have multiple device defined in /etc/config/p910nd then init script will try to start multiple instance with same instance name
drop instance name as resolution
tested on 23.05 snapshot with 2 USB printers
Signed-off-by: Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
(cherry picked from commit
152d80ce1326d0b1fee8e324ec8e68dd9f44cf4a)
PKG_NAME:=p910nd
PKG_VERSION:=0.97
-PKG_RELEASE:=12
+PKG_RELEASE:=13
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/p910nd
append_string "$section" device "-f "
append_string "$section" bind "-i "
append_string "$section" port ""
- procd_open_instance $DAEMON_NAME
+ procd_open_instance
procd_set_param command /usr/sbin/$DAEMON_NAME $args
procd_set_param respawn