about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2014-07-25 14:50:49 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2014-07-25 14:50:49 +0200
commitdcf1e5200671dc032b25d31cc77b0bbf928afb77 (patch)
treea5fbd6e71bc2b647bd1860922fa4402c3395c951
parent627e3899224513d7b0b0c3d58847d81f3fffd9fd (diff)
downloadrunit-void-dcf1e5200671dc032b25d31cc77b0bbf928afb77.tar.gz
runit-void-dcf1e5200671dc032b25d31cc77b0bbf928afb77.tar.xz
runit-void-dcf1e5200671dc032b25d31cc77b0bbf928afb77.zip
2: load /etc/rc.local if executable
-rwxr-xr-x22
1 files changed, 2 insertions, 0 deletions
diff --git a/2 b/2
index eb3e71e..e7357cc 100755
--- a/2
+++ b/2
@@ -13,6 +13,8 @@ done
 # Setup first tty as unicode again, stage1 does not work correctly for tty1.
 unicode_start
 
+[ -x /etc/rc.local ] && /etc/rc.local
+
 # Create runlevel and then make it the default.
 if [ -d /etc/runit/runsvdir/${runlevel} ]; then
     mkdir -p /run/runit/runsvdir