aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-01-24 06:25:25 +0000
committerBill Nottingham <notting@redhat.com>2000-01-24 06:25:25 +0000
commitbe8dfe741d3a972b1304d9bb7b8989b90e990d3a (patch)
tree1450789e4c33a60fde623e39a6578a33d1fdf3c2
parentb5baa7879bcdb8f77ced883ee9eb3eab0363472d (diff)
downloadinitscripts-be8dfe741d3a972b1304d9bb7b8989b90e990d3a.tar
initscripts-be8dfe741d3a972b1304d9bb7b8989b90e990d3a.tar.gz
initscripts-be8dfe741d3a972b1304d9bb7b8989b90e990d3a.tar.bz2
initscripts-be8dfe741d3a972b1304d9bb7b8989b90e990d3a.tar.xz
initscripts-be8dfe741d3a972b1304d9bb7b8989b90e990d3a.zip
don't blow away /var/run/news on reboot
-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 6cc0d779..d3226e4e 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -444,7 +444,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
- rm -f $afile/*
+ [ "$afile" != "news" ] && rm -f $afile/*
else
rm -f $afile
fi