projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
usbmode: add an init script to switch devices that show up too early for the hotplug...
[openwrt/openwrt.git]
/
package
/
utils
/
usbmode
/
files
/
usbmode.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2013 OpenWrt.org
3
4
START
=
20
5
USE_PROCD
=
1
6
7
start_service
()
8
{
9
procd_open_instance
10
procd_set_param
command
"/sbin/usbmode"
-s
11
procd_close_instance
12
}