summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-10-06 19:38:14 +0000
committerMike Frysinger <vapier@gentoo.org>2003-10-06 19:38:14 +0000
commitee78deccdf11caa6e5651eb94c4d8839f53db91c (patch)
tree59f0bc5b865e229d58f1c44c40145b1f9668b508 /sys-apps
parentstable bump (diff)
downloadgentoo-2-ee78deccdf11caa6e5651eb94c4d8839f53db91c.tar.gz
gentoo-2-ee78deccdf11caa6e5651eb94c4d8839f53db91c.tar.bz2
gentoo-2-ee78deccdf11caa6e5651eb94c4d8839f53db91c.zip
old
Diffstat (limited to 'sys-apps')
-rwxr-xr-xsys-apps/xinetd/files/svc-xinetd39
1 files changed, 0 insertions, 39 deletions
diff --git a/sys-apps/xinetd/files/svc-xinetd b/sys-apps/xinetd/files/svc-xinetd
deleted file mode 100755
index 453ad54eaac0..000000000000
--- a/sys-apps/xinetd/files/svc-xinetd
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-#RCUPDATE:3 4:72:This line is required for script management
-
-. /etc/rc.d/config/functions
-
-SERVICE=xinetd
-opts="start stop"
-
-autoconfig() {
-if [ ! -e /etc/xinetd.conf ] ; then
- if [ ! -e /etc/inetd.conf ] ; then
- eerror "You need an /etc/xinetd.conf file to run xinetd"
- eerror "There is a sample one in /usr/share/docs/xinetd"
- return 1
- else
- einfo "Auto-creating xinetd.conf from your inetd.conf"
- /usr/sbin/xconv.pl < /etc/inetd.conf > /etc/xinetd.conf
- fi
-fi
-}
-
-start() {
- autoconfig
- ebegin "Starting supervised ${SERVICE}"
- ln -sf ../services/${SERVICE} ${SVCDIR}/control/${SERVICE}
- eend $?
-}
-
-stop() {
- ebegin "Stopping supervised ${SERVICE}"
- if [ -e ${SVCDIR}/control/${SERVICE} ]
- then
- /usr/bin/svc -dx ${SVCDIR}/control/${SERVICE}
- rm ${SVCDIR}/control/${SERVICE}
- fi
- eend $?
-}
-
-doservice ${@}