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
250 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2014 OpenWrt.org
  3. START=99
  4. BIN=/usr/sbin/forked-daapd
  5. PID=/var/run/forked-daapd.pid
  6. SSD=start-stop-daemon
  7. start() {
  8. $SSD -p $PID -S -x $BIN -- -P $PID
  9. }
  10. stop() {
  11. $SSD -p $PID -K -s SIGINT
  12. }