src/world/s6-scripts/etc/s6/sv/cleanup/up

6 lines
369 B
Plaintext

#!/sbin/execlineb -P
foreground { install -m0664 -o root -g utmp /dev/null /run/utmp }
foreground { if -t -n { test -e /var/log/wtmp } install -m0664 -o root -g utmp /dev/null /var/log/wtmp }
foreground { if -t -n { test -e /var/log/btmp } install -m0600 -o root -g utmp /dev/null /var/log/btmp }
foreground { rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot }