summaryrefslogtreecommitdiff
path: root/package/utils/usbmode/files/usbmode.hotplug
blob: 4ef2bd8daaff75397c6e17198b244febabdd1f21 (plain)
1
2
3
4
5
6
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