summaryrefslogtreecommitdiff
path: root/core/runit/rc.local
diff options
context:
space:
mode:
Diffstat (limited to 'core/runit/rc.local')
-rw-r--r--core/runit/rc.local13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/runit/rc.local b/core/runit/rc.local
new file mode 100644
index 0000000..01a630b
--- /dev/null
+++ b/core/runit/rc.local
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# /etc/rc.local - Local startup commands
+#
+
+# Run scripts in /etc/boot.d if present
+if [ -d /etc/boot.d ]; then
+ for script in /etc/boot.d/*; do
+ [ -x "$script" ] && "$script"
+ done
+fi
+
+# End of file