summaryrefslogtreecommitdiff
path: root/package/mt-daapd/files/mt_daapd.init
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-27 07:51:34 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-27 07:51:34 +0100
commit92d7f6522617c947d635680d045f12a4ef77bcb4 (patch)
treec20dc2f36505542fdb19a2b9d1da1b33ad92fba8 /package/mt-daapd/files/mt_daapd.init
parent6a7c5ff345b197c1d5f0f845adb2bb0da9690075 (diff)
convert checksum check to sha256
Rename the variable name to PKG_HASH and use a 256 Bit SHA checksum to verify the integrity of distfiles. While there do some housekeeping and remove old packages.
Diffstat (limited to 'package/mt-daapd/files/mt_daapd.init')
-rw-r--r--package/mt-daapd/files/mt_daapd.init29
1 files changed, 0 insertions, 29 deletions
diff --git a/package/mt-daapd/files/mt_daapd.init b/package/mt-daapd/files/mt_daapd.init
deleted file mode 100644
index 69093e50b..000000000
--- a/package/mt-daapd/files/mt_daapd.init
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-#PKG mt-daapd
-#INIT 75
-
-. /etc/rc.conf
-
-case $1 in
-autostop) ;;
-autostart)
- test x"${mt_daapd:-NO}" = x"NO" && exit 0
- test x"$mt_daapd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
- exec sh $0 start
- ;;
-start)
- /usr/sbin/mt-daapd
- ;;
-stop)
- kill $(pgrep -f /usr/sbin/mt-daapd)
- ;;
-restart)
- sh $0 stop
- sh $0 start
- ;;
-*)
- echo "Usage: $0 {start | stop | restart}"
- exit 1
- ;;
-esac
-exit $?