about summary refs log tree commit diff
path: root/1
diff options
context:
space:
mode:
Diffstat (limited to '1')
-rwxr-xr-x16
1 files changed, 4 insertions, 2 deletions
diff --git a/1 b/1
index 6938bc8..0bdba54 100755
--- a/1
+++ b/1
@@ -12,7 +12,7 @@ msg "Welcome to Void!"
 # Start core services: one-time system tasks.
 detect_virt
 for f in /etc/runit/core-services/*.sh; do
-    [ -r $f ] && . $f
+	[ -r $f ] && . $f
 done
 
 dmesg >/var/log/dmesg.log
@@ -22,7 +22,9 @@ else
 	chmod 0644 /var/log/dmesg.log
 fi
 
+# create files for controlling runit
 mkdir -p /run/runit
-install -m100 /dev/null /run/runit/stopit
+install -m000 /dev/null /run/runit/stopit
+install -m000 /dev/null /run/runit/reboot
 
 msg "Initialization complete, running stage 2..."