about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-07-25 19:38:36 +0200
committerJuan RP <xtraeme@gmail.com>2014-07-25 19:38:36 +0200
commitef1ba9c64942671f190c32269d9149c0bf4a123c (patch)
tree7d8899ec78d844b3f0e393dcd46f5433a53c3a0b
parent7449d84a1817fefcf93ccd1de3f12d0ef2a4f1ae (diff)
downloadrunit-void-ef1ba9c64942671f190c32269d9149c0bf4a123c.tar.gz
runit-void-ef1ba9c64942671f190c32269d9149c0bf4a123c.tar.xz
runit-void-ef1ba9c64942671f190c32269d9149c0bf4a123c.zip
Add an empty rc.local.
-rw-r--r--Makefile1
-rw-r--r--rc.local4
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 10767ae..f8d40e5 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@ install:
 	install -d ${DESTDIR}/etc/runit/runsvdir
 	install -m755 ${SCRIPTS} ${DESTDIR}/etc/runit
 	install -m644 rc.conf ${DESTDIR}/etc
+	install -m755 rc.local ${DESTDIR}/etc
 	install -d ${DESTDIR}/${PREFIX}/lib/dracut/dracut.conf.d
 	install -m644 dracut/*.conf ${DESTDIR}/${PREFIX}/lib/dracut/dracut.conf.d
 	cp -aP runsvdir/* ${DESTDIR}/etc/runit/runsvdir/
diff --git a/rc.local b/rc.local
new file mode 100644
index 0000000..3b80f85
--- /dev/null
+++ b/rc.local
@@ -0,0 +1,4 @@
+# Default rc.local for void; add your custom commands here.
+#
+# This is run by runit in stage 2 before the services are executed
+# (see /etc/runit/2).