Commit Graph

11 Commits

Author SHA1 Message Date
Peca Nesovanovic 152d80ce13 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>
2024-03-26 11:57:52 +08:00
Paul Donald 685ef7d97b p910nd: restart daemon even if no driver file is needed
Not all USB printers need a blob loading; restart the daemon
independently of driver loading.

Closes openwrt/packages#23588

Signed-off-by: Paul Donald <newtwen@gmail.com>
Tested-by: minicx <minicx@disroot.org>
2024-03-12 22:09:58 +01:00
Paul Donald 9dad4285d3 p910nd: bump release
Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-02-14 17:07:13 -08:00
Paul Donald 825b22a4db p910nd: hotplug script
Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-02-04 16:22:58 -08:00
Chen Minqiang 44410b7350 p910nd: config trigger reload and default disabled
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-11-26 15:47:07 +08:00
Daniel F. Dickinson 932c76fa74 p910nd: Run as non-root by default
We add the necessary Makefile, hotplug, config, and init bits
so that p910nd daemon runs as user:group p910nd:lp by default.
This eliminates an unnecessary root daemon.

The hotplug script sets the permissions of the USB lp
device(s) to read-write owner and group and no access to
anyone else, and sets owner root, group lp.

This is allows sufficient privileges to p910nd
to do it's job.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-08-02 15:58:57 +08:00
Philipp Kerling b9612a8354 p910nd: add mdns support
Signed-off-by: Philipp Kerling <pkerling@casix.org>
2019-04-15 23:19:39 +02:00
Francesco Molitierno a9072f7a1a 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 <francyesc0@hotmail.it>
2018-07-29 13:50:28 +08:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Maximilian Mehnert 3da1c4dbe1 p910nd: Convert p910nd init script to procd
Signed-off-by: Maximilian Mehnert <maximilian.mehnert@gmx.de>
[pkerling@casix.org: increase PKG_RELEASE version]
Signed-off-by: Philipp Kerling <pkerling@casix.org>
2016-05-01 00:10:17 +02:00
Philipp Kerling 64019e46d6 Import and update p910nd package
Signed-off-by: Philipp Kerling <pkerling@casix.org>
2014-08-03 23:28:28 +02:00