diff options
Diffstat (limited to 'contrib/rvnit/sv/20Scleanup')
-rwxr-xr-x | contrib/rvnit/sv/20Scleanup | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/rvnit/sv/20Scleanup b/contrib/rvnit/sv/20Scleanup new file mode 100755 index 0000000..6310892 --- /dev/null +++ b/contrib/rvnit/sv/20Scleanup @@ -0,0 +1,11 @@ +#!/bin/sh +# 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 +install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix +rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot |