unix/fiss-linux

etc/start.d/99-cleanup.sh in master
Repositories | Summary | Log | Files | LICENSE

99-cleanup.sh (311B) download


 1# vim: set ts=4 sw=4 et:
 2
 3if [ ! -e /var/log/wtmp ]; then
 4	install -m0664 -o root -g utmp /dev/null /var/log/wtmp
 5fi
 6if [ ! -e /var/log/btmp ]; then
 7	install -m0600 -o root -g utmp /dev/null /var/log/btmp
 8fi
 9install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
10rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot