diff options
author | Bill Nottingham <notting@redhat.com> | 2000-01-24 06:25:25 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-01-24 06:25:25 +0000 |
commit | be8dfe741d3a972b1304d9bb7b8989b90e990d3a (patch) | |
tree | 1450789e4c33a60fde623e39a6578a33d1fdf3c2 | |
parent | b5baa7879bcdb8f77ced883ee9eb3eab0363472d (diff) | |
download | initscripts-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-x | rc.d/rc.sysinit | 2 |
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 |