summary refs log tree commit diff
path: root/core-services/99-cleanup.sh
blob: 2d7da1d0ec74ae775bc4690c743b37a108528c91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# vim: set ts=4 sw=4 et:

install -m0664 -o root -g utmp /dev/null /run/utmp
if [ ! -e /var/log/wtmp ]; then
	install -m0664 -o root -g utmp /dev/null /var/log/wtmp
fi
if [ ! -e /var/log/btmp ]; then
	install -m0600 -o root -g utmp /dev/null /var/log/btmp
fi
install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot