aboutsummaryrefslogtreecommitdiff
path: root/core/runit
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-02-17 09:13:44 +0300
committerCem Keylan <cem@ckyln.com>2020-02-17 09:13:44 +0300
commit5351c27c89ea6ae17f22f6c684fe3a933f25ec8f (patch)
treee5fad468fb1d404b275eaaa5e78ba5deb29a85e8 /core/runit
parentdee3ccb4a334a9c5d673d7b92b51ec2871a2c12a (diff)
parentcc4e40320b0a0f04cb684e173f454cfc25ffe5d4 (diff)
downloadrepository-5351c27c89ea6ae17f22f6c684fe3a933f25ec8f.tar.gz
Merge branch 'carbs-init-update'
Diffstat (limited to 'core/runit')
-rw-r--r--core/runit/checksums2
-rwxr-xr-xcore/runit/files/27
-rwxr-xr-xcore/runit/post-install10
-rw-r--r--core/runit/version2
4 files changed, 13 insertions, 8 deletions
diff --git a/core/runit/checksums b/core/runit/checksums
index d77e778f..0352014f 100644
--- a/core/runit/checksums
+++ b/core/runit/checksums
@@ -1,5 +1,5 @@
6fd0160cb0cf1207de4e66754b6d39750cff14bb0aa66ab49490992c0c47ba18 runit-2.1.2.tar.gz
-48fa11e767a19c8c7e72e4fcf6b03d7be286ccee795f11ce10577e28522b91b5 2
+95508018522e20943a88209deac334b54fad082cd4495dd0e60416641343c909 2
4b1ca5dd082259040d34700b87e86f54f6fd0f72e3e77726b043250187d6b81d poweroff
b3bfe836d9e70b591ba4d510905213df7abacd3593027c54657682aaafaedb75 reboot
56730d7443d5e531b92daebbea849278c473be6cfbd6323c2c9f2717cec05f22 clearmem.patch
diff --git a/core/runit/files/2 b/core/runit/files/2
index cae35839..b1ae818c 100755
--- a/core/runit/files/2
+++ b/core/runit/files/2
@@ -1,10 +1,5 @@
#!/bin/sh
-PATH=/usr/bin:
-
-for getty in 1 2 3 4 5 6 ; do
- while :; do /sbin/getty 38400 tty${getty} 2>&1 ; done & # for busybox
- # while :; do /sbin/getty /dev/tty${getty} linux 2>&1 ; done & # for ubase
-done
+PATH=/usr/bin:/usr/sbin:/sbin:/bin
exec /usr/bin/runsvdir -P /var/service
diff --git a/core/runit/post-install b/core/runit/post-install
new file mode 100755
index 00000000..806da724
--- /dev/null
+++ b/core/runit/post-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+cat <<EOF
+!! IMPORTANT !!
+
+ In order to use runit-init you need
+ to comment the command in
+ /etc/init/runit.boot
+
+EOF
diff --git a/core/runit/version b/core/runit/version
index b9ac7b5d..05dbda9e 100644
--- a/core/runit/version
+++ b/core/runit/version
@@ -1 +1 @@
-2.1.2 2
+2.1.2 3