diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-31 15:41:17 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-31 15:41:17 +0000 |
commit | 77384ab4574cf6a9fb0dd1d32c1bffe8ce4d244c (patch) | |
tree | 4b649adce65b6f3ccac71129c8f04c17700bbb75 /package/system/utils/usbmode/files | |
parent | f5188daa5362a2391c3e8b6df3008b00bea8a46e (diff) |
replace usb-modeswitch with a rewrite that should be more reliable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36812 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system/utils/usbmode/files')
-rw-r--r-- | package/system/utils/usbmode/files/usbmode.hotplug | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/system/utils/usbmode/files/usbmode.hotplug b/package/system/utils/usbmode/files/usbmode.hotplug new file mode 100644 index 0000000000..4ef2bd8daa --- /dev/null +++ b/package/system/utils/usbmode/files/usbmode.hotplug @@ -0,0 +1,7 @@ +. /lib/functions/procd.sh + +procd_open_service "usbmode" +procd_open_instance +procd_set_param command "/sbin/usbmode" -s +procd_close_instance +procd_close_service |