summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2001-09-01 05:24:39 +0000
committerDonny Davies <woodchip@gentoo.org>2001-09-01 05:24:39 +0000
commit7878b21e5ecaca42ad54dab43811955154f1fe9f (patch)
tree6e78c4fc230e4b6228b5407518ded5f696b63fa9 /sys-apps/xinetd
parentold depracated file (diff)
downloadgentoo-2-7878b21e5ecaca42ad54dab43811955154f1fe9f.tar.gz
gentoo-2-7878b21e5ecaca42ad54dab43811955154f1fe9f.tar.bz2
gentoo-2-7878b21e5ecaca42ad54dab43811955154f1fe9f.zip
old
Diffstat (limited to 'sys-apps/xinetd')
-rwxr-xr-xsys-apps/xinetd/files/xinetd-run28
1 files changed, 0 insertions, 28 deletions
diff --git a/sys-apps/xinetd/files/xinetd-run b/sys-apps/xinetd/files/xinetd-run
deleted file mode 100755
index 6d99b1f5693a..000000000000
--- a/sys-apps/xinetd/files/xinetd-run
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-#remove stale pid files
-if [ -e /var/run/xinetd.pid ]
-then
- mypids="`cat /var/run/xinetd.pid`"
- myrun=`/sbin/pidof xinetd`
- ok=0
- for x in $mypids
- do
- if [ "$myrun" = "$x" ]
- then
- #this is a running xinetd process, pidfile ok
- ok=1
- fi
- done
- if [ "$ok" = "0" ]
- then
- #bogus pidfile, remove
- rm /var/run/xinetd.pid
- fi
-fi
-if [ ! -e /var/run/xinetd.pid ]
-then
- /usr/sbin/xinetd -pid 2> /var/run/xinetd.pid
- /usr/bin/sleep 1
-fi
-exec /usr/bin/watchpid `cat /var/run/xinetd.pid`
-