aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/usbmode/files/usbmode.hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'package/utils/usbmode/files/usbmode.hotplug')
-rw-r--r--package/utils/usbmode/files/usbmode.hotplug8
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