diff options
author | bsd <bsd@FreeBSD.org> | 2001-10-17 14:30:19 +0000 |
---|---|---|
committer | bsd <bsd@FreeBSD.org> | 2001-10-17 14:30:19 +0000 |
commit | 84f6e238e9cf81fd11038bc6dc5a364886333192 (patch) | |
tree | 6a01500b0462c79d6ef02726ab49a8eeccea473b /etc/rc.diskless2 | |
parent | bc3aadffa1f4b1be46592a9df4d5b81cbb6af0b8 (diff) | |
download | FreeBSD-src-84f6e238e9cf81fd11038bc6dc5a364886333192.zip FreeBSD-src-84f6e238e9cf81fd11038bc6dc5a364886333192.tar.gz |
Ensure that /var/log/lastlog exists so that login doesn't complain.
Submitted by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 2 weeks
Diffstat (limited to 'etc/rc.diskless2')
-rw-r--r-- | etc/rc.diskless2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.diskless2 b/etc/rc.diskless2 index fe329a6..5ad523a 100644 --- a/etc/rc.diskless2 +++ b/etc/rc.diskless2 @@ -67,6 +67,9 @@ if [ -n "$LOGFILES" ]; then /usr/bin/touch $LOGFILES fi +echo "+++ create lastlog" +/usr/bin/touch /var/log/lastlog + mount -a # chown and chgrp are in /usr # |