aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-02-14 13:02:02 +0300
committerCem Keylan <cem@ckyln.com>2020-02-14 13:02:02 +0300
commitc80a2fc63c1bc448cbabcd91241b54d9805d496a (patch)
treeed224bfb49d0d1e1a4337c1af070f5ff5b68c6f9
parent82b4e96b335ef78ab44890e2ddb47d4028df7463 (diff)
downloadinit-c80a2fc63c1bc448cbabcd91241b54d9805d496a.tar.gz
install runit.boot for the same reason as getty.0.6.1
-rw-r--r--Makefile6
-rw-r--r--contrib/runit.boot1
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2bed774..d9f1fe6 100644
--- a/Makefile
+++ b/Makefile
@@ -2,13 +2,13 @@
PREFIX = /usr
INITDIR = ${PREFIX}/lib/init
-VERSION = 0.6.0
+VERSION = 0.6.1
install:
mkdir -p ${DESTDIR}/etc
install -Dm644 rc.conf ${DESTDIR}/etc/init/rc.conf
install -Dm644 rc.lib ${DESTDIR}${INITDIR}/rc.lib
- install -Dm644 -t ${DESTDIR}/etc/init/ contrib/getty.boot
+ install -Dm644 -t ${DESTDIR}/etc/init/ contrib/getty.boot contrib/runit.boot
install -Dm755 rc.local ${DESTDIR}/etc/init/rc.local
sed 's#INITDIR#${INITDIR}#g' < rc.boot > ${DESTDIR}${INITDIR}/rc.boot
sed 's#INITDIR#${INITDIR}#g' < rc.shutdown > ${DESTDIR}${INITDIR}/rc.shutdown
@@ -18,7 +18,7 @@ install:
uninstall:
rm -f ${DESTDIR}/etc/init/rc.conf
rm -f ${DESTDIR}/etc/init/rc.local
- rm -f ${DESTDIR}/etc/init/getty.boot
+ rm -f ${DESTDIR}/etc/init/getty.boot ${DESTDIR}/etc/init/runit.boot
rm -f ${DESTDIR}${INITDIR}/rc.boot
rm -f ${DESTDIR}${INITDIR}/rc.shutdown
rm -f ${DESTDIR}${INITDIR}/rc.lib
diff --git a/contrib/runit.boot b/contrib/runit.boot
new file mode 100644
index 0000000..aafe142
--- /dev/null
+++ b/contrib/runit.boot
@@ -0,0 +1 @@
+while :; do /usr/bin/runsvdir -P /var/service ; done &