From 3da7c80ebeb1ef3d9ee6d716716e24750c41be76 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Wed, 2 Nov 2005 18:27:03 +0000 Subject: Moove --- .../xmms2/files/conf.d/xmms2-initscript-gentoo.conf | 8 ++++++++ .../xmms2/files/init.d/xmms2-initscript-gentoo | 21 +++++++++++++++++++++ media-sound/xmms2/files/xmms2-initscript-gentoo | 21 --------------------- .../xmms2/files/xmms2-initscript-gentoo.conf | 8 -------- 4 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 media-sound/xmms2/files/conf.d/xmms2-initscript-gentoo.conf create mode 100644 media-sound/xmms2/files/init.d/xmms2-initscript-gentoo delete mode 100644 media-sound/xmms2/files/xmms2-initscript-gentoo delete mode 100644 media-sound/xmms2/files/xmms2-initscript-gentoo.conf (limited to 'media-sound') diff --git a/media-sound/xmms2/files/conf.d/xmms2-initscript-gentoo.conf b/media-sound/xmms2/files/conf.d/xmms2-initscript-gentoo.conf new file mode 100644 index 00000000..0d25734c --- /dev/null +++ b/media-sound/xmms2/files/conf.d/xmms2-initscript-gentoo.conf @@ -0,0 +1,8 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +# Config file for /etc/init.d/xmms2 + +XMMS2_PREFIX="/usr" +XMMS2_USER="nobody" +XMMS2_PATH="unix:///tmp/xmms-ipc-"${XMMS2_USER} diff --git a/media-sound/xmms2/files/init.d/xmms2-initscript-gentoo b/media-sound/xmms2/files/init.d/xmms2-initscript-gentoo new file mode 100644 index 00000000..c42876e1 --- /dev/null +++ b/media-sound/xmms2/files/init.d/xmms2-initscript-gentoo @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later + +opts="${opts}" + +depend() { + need net +} + +start() { + ebegin "Starting xmms2" + start-stop-daemon --start -c ${XMMS2_USER} --exec ${XMMS2_PREFIX}/bin/xmms2d -q -- -d &>/dev/null + eend +} + +stop() { + ebegin "Stopping xmms2" + start-stop-daemon --start -c ${XMMS2_USER} --exec ${XMMS2_PREFIX}/bin/xmms2 -- quit &1>/dev/null + eend $? +} diff --git a/media-sound/xmms2/files/xmms2-initscript-gentoo b/media-sound/xmms2/files/xmms2-initscript-gentoo deleted file mode 100644 index c42876e1..00000000 --- a/media-sound/xmms2/files/xmms2-initscript-gentoo +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later - -opts="${opts}" - -depend() { - need net -} - -start() { - ebegin "Starting xmms2" - start-stop-daemon --start -c ${XMMS2_USER} --exec ${XMMS2_PREFIX}/bin/xmms2d -q -- -d &>/dev/null - eend -} - -stop() { - ebegin "Stopping xmms2" - start-stop-daemon --start -c ${XMMS2_USER} --exec ${XMMS2_PREFIX}/bin/xmms2 -- quit &1>/dev/null - eend $? -} diff --git a/media-sound/xmms2/files/xmms2-initscript-gentoo.conf b/media-sound/xmms2/files/xmms2-initscript-gentoo.conf deleted file mode 100644 index 0d25734c..00000000 --- a/media-sound/xmms2/files/xmms2-initscript-gentoo.conf +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 - -# Config file for /etc/init.d/xmms2 - -XMMS2_PREFIX="/usr" -XMMS2_USER="nobody" -XMMS2_PATH="unix:///tmp/xmms-ipc-"${XMMS2_USER} -- cgit v1.2.3