summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2014-11-13 19:07:30 +0000
committerWilliam Hubbs <williamh@gentoo.org>2014-11-13 19:07:30 +0000
commit82f3a7dea5b3cda7db81a43ccb6d7d57b0121132 (patch)
tree22ee8a844c1b11d1a2385fc51b8eec217109ebb8 /sys-process/runit/files
parentInstall skipcpio binary, bug #528998. (diff)
downloadgentoo-2-82f3a7dea5b3cda7db81a43ccb6d7d57b0121132.tar.gz
gentoo-2-82f3a7dea5b3cda7db81a43ccb6d7d57b0121132.tar.bz2
gentoo-2-82f3a7dea5b3cda7db81a43ccb6d7d57b0121132.zip
version bump for bug #522786
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)
Diffstat (limited to 'sys-process/runit/files')
-rw-r--r--sys-process/runit/files/2-2.1.26
-rw-r--r--sys-process/runit/files/3-2.1.214
-rw-r--r--sys-process/runit/files/run.getty-2.1.22
3 files changed, 22 insertions, 0 deletions
diff --git a/sys-process/runit/files/2-2.1.2 b/sys-process/runit/files/2-2.1.2
new file mode 100644
index 000000000000..5d503709e220
--- /dev/null
+++ b/sys-process/runit/files/2-2.1.2
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
+
+exec env - PATH=$PATH \
+runsvdir /etc/service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'
diff --git a/sys-process/runit/files/3-2.1.2 b/sys-process/runit/files/3-2.1.2
new file mode 100644
index 000000000000..3dd5a486c19d
--- /dev/null
+++ b/sys-process/runit/files/3-2.1.2
@@ -0,0 +1,14 @@
+#!/bin/sh
+exec >/dev/console 2>&1
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+
+echo 'Waiting for getties to stop...'
+sv -w 10 force-shutdown /etc/service/getty-*
+
+echo 'Waiting for services to stop...'
+sv -w 300 force-shutdown /etc/service/*
+
+echo 'Shutdown...'
+test -x /etc/runit/reboot && LAST=6 || LAST=0
+test -x /etc/runit/reboot && RC=reboot || RC=shutdown
+RUNLEVEL=$LAST /sbin/rc $RC
diff --git a/sys-process/runit/files/run.getty-2.1.2 b/sys-process/runit/files/run.getty-2.1.2
new file mode 100644
index 000000000000..33b2e7853275
--- /dev/null
+++ b/sys-process/runit/files/run.getty-2.1.2
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/chpst -P /sbin/agetty 38400 TTY linux