diff options
author | Leah Neukirchen <leah@vuxu.org> | 2023-06-16 13:58:06 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2023-06-16 13:58:20 +0200 |
commit | 329b891426efc093ad8c65e96364427c2fb25b54 (patch) | |
tree | 7281d6ce831938070dbacfabde6ffaa366b3f311 /core-services | |
parent | 0d783cd262a74367d467596052fc79cc4f75950b (diff) | |
download | runit-void-329b891426efc093ad8c65e96364427c2fb25b54.tar.gz runit-void-329b891426efc093ad8c65e96364427c2fb25b54.tar.xz runit-void-329b891426efc093ad8c65e96364427c2fb25b54.zip |
core-services/99-cleanup.sh: also create lastlog
Diffstat (limited to 'core-services')
-rw-r--r-- | core-services/99-cleanup.sh | 3 |
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 |