summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/shoutcast-trans-bin/files/shoutcast_trans')
-rw-r--r--media-sound/shoutcast-trans-bin/files/shoutcast_trans32
1 files changed, 0 insertions, 32 deletions
diff --git a/media-sound/shoutcast-trans-bin/files/shoutcast_trans b/media-sound/shoutcast-trans-bin/files/shoutcast_trans
deleted file mode 100644
index 4d4a779db3e4..000000000000
--- a/media-sound/shoutcast-trans-bin/files/shoutcast_trans
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need localmount
- need shoutcast
-}
-
-checkconfig() {
- if ! [ -f /etc/shoutcast/sc_trans.conf ] ; then
- eerror "Configuration file /etc/shoutcast/sc_trans.conf does not exist!"
- return 1
- fi
-
- return 0
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting Shoutcast Trans"
- start-stop-daemon --start --quiet -m --pidfile /var/run/shoutcast_trans.pid --exec /opt/shoutcast/sc_trans_linux /etc/shoutcast/sc_trans.conf > /dev/null &
- eend $?
-}
-
-stop() {
- ebegin "Stopping Shoutcast Trans"
- start-stop-daemon --stop --quiet --pidfile /var/run/shoutcast_trans.pid
- eend $?
-}