diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-12-13 16:43:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-12-13 16:43:15 +0000 |
commit | 000a20ee9692bb5a5054d424097fafdca2264980 (patch) | |
tree | 79f7a3eb71e397219cba7372f7b00e62c7be7fc7 /package/utils/usbmode/files/usbmode.hotplug | |
parent | 47730fe3552d6daf6e43d6a21d754667a2de5784 (diff) | |
download | upstream-000a20ee9692bb5a5054d424097fafdca2264980.tar.gz upstream-000a20ee9692bb5a5054d424097fafdca2264980.tar.bz2 upstream-000a20ee9692bb5a5054d424097fafdca2264980.zip |
usbmode: add an init script to switch devices that show up too early for the hotplug script
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39047
Diffstat (limited to 'package/utils/usbmode/files/usbmode.hotplug')
-rw-r--r-- | package/utils/usbmode/files/usbmode.hotplug | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/package/utils/usbmode/files/usbmode.hotplug b/package/utils/usbmode/files/usbmode.hotplug index 4ef2bd8daa..b238894b1d 100644 --- 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 |