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

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
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