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>
Tue, 26 Mar 2024 03:57:52 +0000 (11:57 +0800)
commit152d80ce1326d0b1fee8e324ec8e68dd9f44cf4a
tree6b9613f8c19b2e3d04f7ee8b5eba3aa77ec174b5
parent45625ee37e243fddb8a8c89f24a4d331ac7a089a
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>
net/p910nd/Makefile
net/p910nd/files/p910nd.init