1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-29 12:24:17 +02:00
openwrt-packages/multimedia/rtpmidid/files/rtpmidid.init
Daniel Golle 07f2f926af rtpmidid: add package
Add RTP MIDI server package allowing to import/export local MIDI
clients or hardware devices to the local network using Apple's
RTP MIDI protocol.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-06-13 15:03:34 +01:00

17 lines
304 B
Bash
Executable File

#!/bin/sh /etc/rc.common
USE_PROCD=1
START=99
STOP=15
start_service() {
[ -d /var/run/rtpmidid ] || mkdir -m 0755 -p /var/run/rtpmidid
procd_open_instance
procd_set_param command /usr/bin/rtpmidid
procd_set_param stdout 1
procd_set_param stderr 1
procd_set_param respawn
procd_close_instance
}