summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--core-services/99-cleanup.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
index f27f728..b422c34 100644
--- a/core-services/99-cleanup.sh
+++ b/core-services/99-cleanup.sh
@@ -6,5 +6,8 @@ fi
 if [ ! -e /var/log/btmp ]; then
 	install -m0600 -o root -g utmp /dev/null /var/log/btmp
 fi
+if [ ! -e /var/log/lastlog ]; then
+	install -m0600 -o root -g utmp /dev/null /var/log/lastlog
+fi
 install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
 rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot