summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2001-09-01 05:23:43 +0000
committerDonny Davies <woodchip@gentoo.org>2001-09-01 05:23:43 +0000
commitba18a6e1a87cfa741b5c391272a53cbfb98349b5 (patch)
tree996170ef899fb9d138241b1fb9e1f7980f9d7caa /sys-apps/xinetd/files
parentnew xfree fix (diff)
downloadhistorical-ba18a6e1a87cfa741b5c391272a53cbfb98349b5.tar.gz
historical-ba18a6e1a87cfa741b5c391272a53cbfb98349b5.tar.bz2
historical-ba18a6e1a87cfa741b5c391272a53cbfb98349b5.zip
old depracated file
Diffstat (limited to 'sys-apps/xinetd/files')
-rwxr-xr-xsys-apps/xinetd/files/xinetd-run-2.1.8.9_pre1628
1 files changed, 0 insertions, 28 deletions
diff --git a/sys-apps/xinetd/files/xinetd-run-2.1.8.9_pre16 b/sys-apps/xinetd/files/xinetd-run-2.1.8.9_pre16
deleted file mode 100755
index 26fcefcbf0f1..000000000000
--- a/sys-apps/xinetd/files/xinetd-run-2.1.8.9_pre16
+++ /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 -pidfile /var/run/xinetd.pid
- /usr/bin/sleep 1
-fi
-exec /usr/bin/watchpid `cat /var/run/xinetd.pid`
-