aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-02-06 17:06:40 +0000
committerBill Nottingham <notting@redhat.com>2001-02-06 17:06:40 +0000
commit548bfb4b86d56f466b10c289d2d1f229494538e6 (patch)
tree030581e5d970128a1225c9475d98dd42d54e2daa /rc.d
parent3016587b99f3ac6265db012ced9b3f09f66b4b35 (diff)
downloadinitscripts-548bfb4b86d56f466b10c289d2d1f229494538e6.tar
initscripts-548bfb4b86d56f466b10c289d2d1f229494538e6.tar.gz
initscripts-548bfb4b86d56f466b10c289d2d1f229494538e6.tar.bz2
initscripts-548bfb4b86d56f466b10c289d2d1f229494538e6.tar.xz
initscripts-548bfb4b86d56f466b10c289d2d1f229494538e6.zip
mon has a subdirectory in odd places as well. (#26924)
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index fdf8b570..006b1700 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -554,7 +554,7 @@ _NEED_XFILES=
# I'd use find, but /usr may not be mounted.
for afile in /var/lock/* /var/run/*; do
if [ -d "$afile" ]; then
- [ "`basename $afile`" != "news" -a "`basename $afile`" != "sudo" ] && rm -f $afile/*
+ [ "`basename $afile`" != "news" -a "`basename $afile`" != "sudo" -a "`basename $afile`" != "mon" ] && rm -f $afile/*
else
rm -f $afile
fi