You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
240 B

#!/bin/sh /etc/rc.common
# Copyright (C) 2014 OpenWrt.org
START=99
BIN=/usr/sbin/owntone
PID=/var/run/owntone.pid
SSD=start-stop-daemon
start() {
$SSD -p $PID -S -x $BIN -- -P $PID
}
stop() {
$SSD -p $PID -K -s SIGINT
}