From 77384ab4574cf6a9fb0dd1d32c1bffe8ce4d244c Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 31 May 2013 15:41:17 +0000 Subject: replace usb-modeswitch with a rewrite that should be more reliable Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36812 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/system/utils/usbmode/files/usbmode.hotplug | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 package/system/utils/usbmode/files/usbmode.hotplug (limited to 'package/system/utils/usbmode/files') 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 -- cgit v1.2.3