projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usbmode: add an init script to switch devices that show up too early for the hotplug...
[openwrt.git]
/
package
/
utils
/
usbmode
/
files
/
usbmode.hotplug
diff --git
a/package/utils/usbmode/files/usbmode.hotplug
b/package/utils/usbmode/files/usbmode.hotplug
index
4ef2bd8
..
b238894
100644
(file)
--- a/
package/utils/usbmode/files/usbmode.hotplug
+++ b/
package/utils/usbmode/files/usbmode.hotplug
@@
-1,7
+1
@@
-. /lib/functions/procd.sh
-
-procd_open_service "usbmode"
-procd_open_instance
-procd_set_param command "/sbin/usbmode" -s
-procd_close_instance
-procd_close_service
+/etc/init.d/usbmode start