mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 17:55:13 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
0d155c70be
commit
32600acc60
14258 files changed
+3954570
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2005-2013 NowRush Studio
|
||||
# Author: hackpascal <hackpascal@gmail.com>
|
||||
|
||||
START=70
|
||||
|
||||
stop() {
|
||||
killall p910nd 2>/dev/null
|
||||
}
|
||||
|
||||
start() {
|
||||
for lps in `/usr/bin/detectlp`; do
|
||||
product=`echo $lps | cut -d , -f 2`
|
||||
|
||||
/usr/bin/usb_printer_hotplug "$product" add
|
||||
done
|
||||
}
|
||||
|
||||
restart() {
|
||||
stop
|
||||
start
|
||||
}
|
||||
Reference in new issue
Block a user