about summary refs log tree commit diff
path: root/core-services/99-cleanup.sh
blob: 63a973c08821dabed1747c855e8f816e24026ebe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

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