summary refs log tree commit diff
path: root/core-services/99-cleanup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'core-services/99-cleanup.sh')
-rwxr-xr-xcore-services/99-cleanup.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
new file mode 100755
index 0000000..8030b4f
--- /dev/null
+++ b/core-services/99-cleanup.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+# vim: set ts=4 sw=4 et:
+
+. /etc/runit/functions
+[ -r /etc/rc.conf ] && . /etc/rc.conf
+
+install -m0664 -o root -g utmp /dev/null /run/utmp
+install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix
+rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot