aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-01-30 19:38:31 +0000
committerBill Nottingham <notting@redhat.com>2003-01-30 19:38:31 +0000
commita81faf1f50fc8eccc6a6932489dd81a388756f94 (patch)
treef0f8a87e5bd445d1cec55e30fdc91d38630e1cfb
parentc0f8f05b13e1b01d73c9836c10b78aa0500207b4 (diff)
downloadinitscripts-a81faf1f50fc8eccc6a6932489dd81a388756f94.tar
initscripts-a81faf1f50fc8eccc6a6932489dd81a388756f94.tar.gz
initscripts-a81faf1f50fc8eccc6a6932489dd81a388756f94.tar.bz2
initscripts-a81faf1f50fc8eccc6a6932489dd81a388756f94.tar.xz
initscripts-a81faf1f50fc8eccc6a6932489dd81a388756f94.zip
clean out sudo stamps
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 3 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 4170a38f..34285b7d 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -614,7 +614,9 @@ _NEED_XFILES=
for afile in /var/lock/* /var/run/* ; do
if [ -d "$afile" ]; then
case "`basename $afile`" in
- news|sudo|mon) ;;
+ news|mon) ;;
+ sudo)
+ rm -f $afile/*/* ;;
*) rm -f $afile/* ;;
esac
else