summary refs log tree commit diff
path: root/contrib/rvnit/20Scleanup
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/rvnit/20Scleanup')
-rwxr-xr-xcontrib/rvnit/20Scleanup11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/rvnit/20Scleanup b/contrib/rvnit/20Scleanup
new file mode 100755
index 0000000..6310892
--- /dev/null
+++ b/contrib/rvnit/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