diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-04 00:10:26 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-04 00:10:26 +0000 |
| commit | 7bb2006007c1996f33758e41db070252d4d3607f (patch) | |
| tree | 3dc03d4f6a8867742961a3dea9ecc96c52d00a10 /layout/rootfs/run/service | |
| parent | 1202c964c4e91083a3c60b41b9c11e220bfa759d (diff) | |
| download | lh-bootstrap-7bb2006007c1996f33758e41db070252d4d3607f.tar.gz | |
Make a lean and mean version, as a basis for filling an initramfs
Diffstat (limited to 'layout/rootfs/run/service')
| -rwxr-xr-x | layout/rootfs/run/service/.s6-svscan/SIGHUP | 1 | ||||
| -rwxr-xr-x | layout/rootfs/run/service/.s6-svscan/SIGINT | 3 | ||||
| -rwxr-xr-x | layout/rootfs/run/service/.s6-svscan/SIGQUIT | 1 | ||||
| -rwxr-xr-x | layout/rootfs/run/service/.s6-svscan/SIGTERM | 1 | ||||
| -rwxr-xr-x | layout/rootfs/run/service/.s6-svscan/SIGUSR1 | 1 | ||||
| -rwxr-xr-x | layout/rootfs/run/service/.s6-svscan/SIGUSR2 | 1 | ||||
| -rwxr-xr-x | layout/rootfs/run/service/.s6-svscan/crash | 3 | ||||
| -rwxr-xr-x | layout/rootfs/run/service/.s6-svscan/finish | 3 | ||||
| -rwxr-xr-x | layout/rootfs/run/service/s6-linux-init-early-getty/run | 3 | ||||
| -rwxr-xr-x | layout/rootfs/run/service/s6-svscan-log/run | 7 |
10 files changed, 24 insertions, 0 deletions
diff --git a/layout/rootfs/run/service/.s6-svscan/SIGHUP b/layout/rootfs/run/service/.s6-svscan/SIGHUP new file mode 100755 index 0000000..ef7d2c9 --- /dev/null +++ b/layout/rootfs/run/service/.s6-svscan/SIGHUP @@ -0,0 +1 @@ +#!/command/execlineb -P diff --git a/layout/rootfs/run/service/.s6-svscan/SIGINT b/layout/rootfs/run/service/.s6-svscan/SIGINT new file mode 100755 index 0000000..a547aad --- /dev/null +++ b/layout/rootfs/run/service/.s6-svscan/SIGINT @@ -0,0 +1,3 @@ +#!/command/execlineb -P + +reboot diff --git a/layout/rootfs/run/service/.s6-svscan/SIGQUIT b/layout/rootfs/run/service/.s6-svscan/SIGQUIT new file mode 100755 index 0000000..ef7d2c9 --- /dev/null +++ b/layout/rootfs/run/service/.s6-svscan/SIGQUIT @@ -0,0 +1 @@ +#!/command/execlineb -P diff --git a/layout/rootfs/run/service/.s6-svscan/SIGTERM b/layout/rootfs/run/service/.s6-svscan/SIGTERM new file mode 100755 index 0000000..ef7d2c9 --- /dev/null +++ b/layout/rootfs/run/service/.s6-svscan/SIGTERM @@ -0,0 +1 @@ +#!/command/execlineb -P diff --git a/layout/rootfs/run/service/.s6-svscan/SIGUSR1 b/layout/rootfs/run/service/.s6-svscan/SIGUSR1 new file mode 100755 index 0000000..ef7d2c9 --- /dev/null +++ b/layout/rootfs/run/service/.s6-svscan/SIGUSR1 @@ -0,0 +1 @@ +#!/command/execlineb -P diff --git a/layout/rootfs/run/service/.s6-svscan/SIGUSR2 b/layout/rootfs/run/service/.s6-svscan/SIGUSR2 new file mode 100755 index 0000000..ef7d2c9 --- /dev/null +++ b/layout/rootfs/run/service/.s6-svscan/SIGUSR2 @@ -0,0 +1 @@ +#!/command/execlineb -P diff --git a/layout/rootfs/run/service/.s6-svscan/crash b/layout/rootfs/run/service/.s6-svscan/crash new file mode 100755 index 0000000..c9ca6d5 --- /dev/null +++ b/layout/rootfs/run/service/.s6-svscan/crash @@ -0,0 +1,3 @@ +#!/command/execlineb -P + +reboot -f diff --git a/layout/rootfs/run/service/.s6-svscan/finish b/layout/rootfs/run/service/.s6-svscan/finish new file mode 100755 index 0000000..c9ca6d5 --- /dev/null +++ b/layout/rootfs/run/service/.s6-svscan/finish @@ -0,0 +1,3 @@ +#!/command/execlineb -P + +reboot -f diff --git a/layout/rootfs/run/service/s6-linux-init-early-getty/run b/layout/rootfs/run/service/s6-linux-init-early-getty/run new file mode 100755 index 0000000..c48b72d --- /dev/null +++ b/layout/rootfs/run/service/s6-linux-init-early-getty/run @@ -0,0 +1,3 @@ +#!/command/execlineb -P + +getty -L -H %%HOSTNAME%% 38400 /dev/%%CONSOLE%% diff --git a/layout/rootfs/run/service/s6-svscan-log/run b/layout/rootfs/run/service/s6-svscan-log/run new file mode 100755 index 0000000..896a294 --- /dev/null +++ b/layout/rootfs/run/service/s6-svscan-log/run @@ -0,0 +1,7 @@ +#!/command/execlineb -P + +redirfd -w 2 /dev/console +redirfd -w 1 /dev/null +redirfd -rnb 0 fifo +s6-applyuidgid -u 98 -g 98 -- +s6-log -bp -- t /run/uncaught-logs |
