aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-04-07 15:47:43 +0000
committerBill Nottingham <notting@redhat.com>1999-04-07 15:47:43 +0000
commit2d638e35d40ae53bb81a201173a78a9cdf1faac5 (patch)
tree0d832ce71f064f6a4e14eaed09dad35d74357e49
parent227553340645f0864458d3764b1ff9e810219931 (diff)
downloadinitscripts-2d638e35d40ae53bb81a201173a78a9cdf1faac5.tar
initscripts-2d638e35d40ae53bb81a201173a78a9cdf1faac5.tar.gz
initscripts-2d638e35d40ae53bb81a201173a78a9cdf1faac5.tar.bz2
initscripts-2d638e35d40ae53bb81a201173a78a9cdf1faac5.tar.xz
initscripts-2d638e35d40ae53bb81a201173a78a9cdf1faac5.zip
touch wtmp, don't zero it
-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 f7832b21..ebe52cf6 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -283,7 +283,7 @@ fi
# Clean out /etc.
rm -f /etc/mtab~ /fastboot /fsckoptions /forcefsck
>/var/run/utmp
->/var/log/wtmp
+touch /var/log/wtmp
chgrp utmp /var/run/utmp /var/log/wtmp
chmod 0664 /var/run/utmp /var/log/wtmp