diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-03 06:19:04 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-03 06:19:04 +0000 |
| commit | 6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07 (patch) | |
| tree | 1f70b259fe7fb5c82f437c6b006284893cf4eb5a /testing/minidlna/minidlna.initd | |
| parent | 66765c30ac7a9c9a560ab43d5618de820fb373c6 (diff) | |
| download | aports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.bz2 aports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.xz | |
testing/*: removed
We dont ship testing things in a stable release
Diffstat (limited to 'testing/minidlna/minidlna.initd')
| -rw-r--r-- | testing/minidlna/minidlna.initd | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/testing/minidlna/minidlna.initd b/testing/minidlna/minidlna.initd deleted file mode 100644 index bb20626138..0000000000 --- a/testing/minidlna/minidlna.initd +++ /dev/null @@ -1,48 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/minidlna/files/minidlna.initd,v 1.1 2010/12/29 16:59:25 xmw Exp $ - -depend() { - need net -} - -start() { - ebegin "Starting MiniDLNA" - local params="" - local stop=0 - - if [[ "${RESCAN}" = "true" || "{$RESCAN}" = yes ]]; then - params="$params -R" - fi - - #set the config file and check if it exists - if [ -z "${CONFIG}" ]; then - if [ ! -f "/etc/minidlna.conf" ]; then - ewarn "You did not set the config file correctly" - stop=1 - fi - params="$params -f /etc/minidlna.conf" - else - if [ ! -f "${CONFIG}" ]; then - ewarn "The specified config file does not exist" - stop=1 - fi - params="$params -f ${CONFIG}" - fi - - - if [ $stop -eq 1 ]; then - eend 1 - else - start-stop-daemon --start \ - --exec /usr/sbin/minidlna -- ${params} - eend $? - fi -} - -stop() { - ebegin "Stopping MiniDLNA" - start-stop-daemon --stop --quiet --exec /usr/sbin/minidlna - eend $? -} |
