Files
Rosen Penev 42f2270664 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>
(cherry picked from commit 7ae3bac516)
2021-01-01 17:54:46 -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
}