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:10 +0000 (14:33 +0800)
commit2d5f789ccf70999cabc4b84925b3d2686f719949
tree43d08ed0867d821c7646097e4d1bc264b94cea93
parenta49c7d20f23a5f8c7d93ef57befecaa7d114a562
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