summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/var
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-13 19:07:48 +0000
committered <ed@FreeBSD.org>2010-01-13 19:07:48 +0000
commit4f31d2c5a61c36bfed349f716ab4d35155f799f4 (patch)
treec8d3f8420976d87627b4e853630a0a5f239be784 /etc/rc.d/var
parenta40e5b0c4872f0c1eb774b675e6e714e73d63d8c (diff)
downloadFreeBSD-src-4f31d2c5a61c36bfed349f716ab4d35155f799f4.zip
FreeBSD-src-4f31d2c5a61c36bfed349f716ab4d35155f799f4.tar.gz
Let rc and periodic infrastructure and newsyslog use the utmpx files.
Diffstat (limited to 'etc/rc.d/var')
-rwxr-xr-xetc/rc.d/var14
1 files changed, 7 insertions, 7 deletions
diff --git a/etc/rc.d/var b/etc/rc.d/var
index 4b57fb5..8e5bdde 100755
--- a/etc/rc.d/var
+++ b/etc/rc.d/var
@@ -98,12 +98,12 @@ case "${populate_var}" in
;;
esac
-# Make sure we have /var/log/lastlog and /var/log/wtmp files
-if [ ! -f /var/log/lastlog ]; then
- cp /dev/null /var/log/lastlog
- chmod 644 /var/log/lastlog
+# Make sure we have /var/log/utx.lastlogin and /var/log/utx.log files
+if [ ! -f /var/log/utx.lastlogin ]; then
+ cp /dev/null /var/log/utx.lastlogin
+ chmod 644 /var/log/utx.lastlogin
fi
-if [ ! -f /var/log/wtmp ]; then
- cp /dev/null /var/log/wtmp
- chmod 644 /var/log/wtmp
+if [ ! -f /var/log/utx.log ]; then
+ cp /dev/null /var/log/utx.log
+ chmod 644 /var/log/utx.log
fi
OpenPOWER on IntegriCloud