about summary refs log tree commit diff
path: root/1
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-07 17:31:52 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-07 17:31:52 +0200
commit782e8546a65cdad914223413a8ad1c9be9e9a355 (patch)
treeee037c1ec2d3c99c2f815ef4d81bc6cace16d046 /1
parent53a09fa9d57bad1b074d0f72a302ffc4517d4b0f (diff)
downloadrunit-void-782e8546a65cdad914223413a8ad1c9be9e9a355.tar.gz
runit-void-782e8546a65cdad914223413a8ad1c9be9e9a355.tar.xz
runit-void-782e8546a65cdad914223413a8ad1c9be9e9a355.zip
Make core-services just shell snippets and source them from 1; idea from @chneukirchen.
Diffstat (limited to '1')
-rwxr-xr-x12
1 files changed, 1 insertions, 1 deletions
diff --git a/1 b/1
index 2f437ed..62aa0ea 100755
--- a/1
+++ b/1
@@ -12,7 +12,7 @@ msg "Welcome to Void!\n"
 # Start core services: one-time system tasks.
 detect_virt
 for f in /etc/runit/core-services/*.sh; do
-    [ -x $f ] && $f
+    [ -r $f ] && . $f
 done
 
 dmesg >/var/log/dmesg.log