1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-17 21:03:56 +02:00
openwrt-packages/utils/usbmuxd/files/usbmuxd.init
Rosen Penev 7ae3bac516
usbmuxd: enable systemd support
This is needed as the options loop is totally broken and doesn't accept
both -f and -z together.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-07 19:49:55 -08:00

18 lines
249 B
Bash

#!/bin/sh /etc/rc.common
START=94
USE_PROCD=1
PROG=/usr/sbin/usbmuxd
start_service() {
procd_open_instance
procd_set_param command $PROG --systemd
procd_set_param stderr 1
procd_close_instance
}
reload_service() {
procd_send_signal $PROG
}