diff options
author | Donny Davies <woodchip@gentoo.org> | 2001-09-01 05:23:43 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2001-09-01 05:23:43 +0000 |
commit | 765bf7f8b11f48f2a4c4be7ee9778555c3cc258b (patch) | |
tree | 436cf59193bf4ead5c134aa56b83f76a734ebbd4 /sys-apps/xinetd/files | |
parent | new xfree fix (diff) | |
download | gentoo-2-765bf7f8b11f48f2a4c4be7ee9778555c3cc258b.tar.gz gentoo-2-765bf7f8b11f48f2a4c4be7ee9778555c3cc258b.tar.bz2 gentoo-2-765bf7f8b11f48f2a4c4be7ee9778555c3cc258b.zip |
old depracated file
Diffstat (limited to 'sys-apps/xinetd/files')
-rwxr-xr-x | sys-apps/xinetd/files/xinetd-run-2.1.8.9_pre16 | 28 |
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` - |