diff options
Diffstat (limited to 'package/system/utils/usbmode/files/usbmode.hotplug')
-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 |