diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-process/runit/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-process/runit/files')
-rwxr-xr-x | sys-process/runit/files/1 | 10 | ||||
-rwxr-xr-x | sys-process/runit/files/2 | 6 | ||||
-rw-r--r-- | sys-process/runit/files/2-2.1.2 | 6 | ||||
-rwxr-xr-x | sys-process/runit/files/3 | 14 | ||||
-rw-r--r-- | sys-process/runit/files/3-2.1.2 | 14 | ||||
-rwxr-xr-x | sys-process/runit/files/ctrlaltdel | 9 | ||||
-rwxr-xr-x | sys-process/runit/files/finish.getty | 2 | ||||
-rwxr-xr-x | sys-process/runit/files/run.getty | 2 | ||||
-rw-r--r-- | sys-process/runit/files/run.getty-2.1.2 | 2 |
9 files changed, 65 insertions, 0 deletions
diff --git a/sys-process/runit/files/1 b/sys-process/runit/files/1 new file mode 100755 index 000000000000..d6a5b4f64eeb --- /dev/null +++ b/sys-process/runit/files/1 @@ -0,0 +1,10 @@ +#!/bin/sh +# system one time tasks + +PATH=/sbin:/usr/sbin:/bin:/usr/bin + +RUNLEVEL=S /sbin/rc sysinit +RUNLEVEL=S /sbin/rc boot + +touch /etc/runit/stopit +chmod 0 /etc/runit/stopit diff --git a/sys-process/runit/files/2 b/sys-process/runit/files/2 new file mode 100755 index 000000000000..233ad006aac3 --- /dev/null +++ b/sys-process/runit/files/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 /var/service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................' 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 b/sys-process/runit/files/3 new file mode 100755 index 000000000000..f143f5f46011 --- /dev/null +++ b/sys-process/runit/files/3 @@ -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 shutdown -w 10 /var/service/getty-* + +echo 'Waiting for services to stop...' +sv shutdown -w 300 /var/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/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/ctrlaltdel b/sys-process/runit/files/ctrlaltdel new file mode 100755 index 000000000000..668445738dfc --- /dev/null +++ b/sys-process/runit/files/ctrlaltdel @@ -0,0 +1,9 @@ +#!/bin/sh + +PATH=/bin:/usr/bin +MSG="System is going down in 14 seconds..." + +# echo 'disabled.' ; exit +touch /etc/runit/stopit +chmod 100 /etc/runit/stopit && echo "$MSG" | wall +/bin/sleep 14 diff --git a/sys-process/runit/files/finish.getty b/sys-process/runit/files/finish.getty new file mode 100755 index 000000000000..c3d440a85e38 --- /dev/null +++ b/sys-process/runit/files/finish.getty @@ -0,0 +1,2 @@ +#!/bin/sh +exec utmpset -w TTY diff --git a/sys-process/runit/files/run.getty b/sys-process/runit/files/run.getty new file mode 100755 index 000000000000..ab6f9543fe97 --- /dev/null +++ b/sys-process/runit/files/run.getty @@ -0,0 +1,2 @@ +#!/bin/sh +exec /sbin/agetty 38400 TTY linux 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 |