summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2001-09-01 06:12:57 +0000
committerDonny Davies <woodchip@gentoo.org>2001-09-01 06:12:57 +0000
commit6c56a8aa4b39eb4d96fdee748d2426f0e7bd819b (patch)
treef23b707f1a528647fea0e61915856b358bad9e87 /sys-apps/xinetd/files
parentrc6 adjusts (diff)
downloadgentoo-2-6c56a8aa4b39eb4d96fdee748d2426f0e7bd819b.tar.gz
gentoo-2-6c56a8aa4b39eb4d96fdee748d2426f0e7bd819b.tar.bz2
gentoo-2-6c56a8aa4b39eb4d96fdee748d2426f0e7bd819b.zip
This is the last ebuild of xinetd that will install
the djb tools stubs. deprecated in rc6.
Diffstat (limited to 'sys-apps/xinetd/files')
-rwxr-xr-xsys-apps/xinetd/files/xinetd-run5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys-apps/xinetd/files/xinetd-run b/sys-apps/xinetd/files/xinetd-run
index 26fcefcbf0f1..912f10fc3aea 100755
--- a/sys-apps/xinetd/files/xinetd-run
+++ b/sys-apps/xinetd/files/xinetd-run
@@ -18,11 +18,8 @@ then
#bogus pidfile, remove
rm /var/run/xinetd.pid
fi
-fi
-if [ ! -e /var/run/xinetd.pid ]
-then
+else
/usr/sbin/xinetd -pidfile /var/run/xinetd.pid
/usr/bin/sleep 1
fi
exec /usr/bin/watchpid `cat /var/run/xinetd.pid`
-