p910nd: fix running multiple instances
authorPeca Nesovanovic <59750439+Npeca75@users.noreply.github.com>
Wed, 20 Mar 2024 20:21:36 +0000 (21:21 +0100)
committerTianling Shen <cnsztl@gmail.com>
Wed, 27 Mar 2024 06:33:04 +0000 (14:33 +0800)
commit7c3f86430eebc76dcc00a69d354b7d46a2b5ba86
tree2473a01636944a64e6bc13cc6ce9e655ef6e6af5
parentae3ae3f30ecf8e64739dfbde2c4d44b054a076e7
p910nd: fix running multiple instances

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)
net/p910nd/Makefile
net/p910nd/files/p910nd.init