Initial commit
This commit is contained in:
1
package/utils/usbmode/files/usbmode.hotplug
Normal file
1
package/utils/usbmode/files/usbmode.hotplug
Normal file
@@ -0,0 +1 @@
|
||||
/etc/init.d/usbmode start
|
||||
12
package/utils/usbmode/files/usbmode.init
Executable file
12
package/utils/usbmode/files/usbmode.init
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2013 OpenWrt.org
|
||||
|
||||
START=20
|
||||
USE_PROCD=1
|
||||
|
||||
start_service()
|
||||
{
|
||||
procd_open_instance
|
||||
procd_set_param command "/sbin/usbmode" -s
|
||||
procd_close_instance
|
||||
}
|
||||
Reference in New Issue
Block a user