summaryrefslogtreecommitdiff
path: root/layout/rootfs/etc/s6-linux-init
diff options
context:
space:
mode:
Diffstat (limited to 'layout/rootfs/etc/s6-linux-init')
-rw-r--r--layout/rootfs/etc/s6-linux-init/env-stage2/.empty0
-rwxr-xr-xlayout/rootfs/etc/s6-linux-init/init24
-rwxr-xr-xlayout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGHUP4
-rwxr-xr-xlayout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGINT4
-rwxr-xr-xlayout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGQUIT4
-rwxr-xr-xlayout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGTERM4
-rwxr-xr-xlayout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGUSR14
-rwxr-xr-xlayout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGUSR24
-rwxr-xr-xlayout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/crash7
-rwxr-xr-xlayout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/finish20
-rwxr-xr-xlayout/rootfs/etc/s6-linux-init/run-image/service/s6-linux-init-early-getty/run3
-rwxr-xr-xlayout/rootfs/etc/s6-linux-init/run-image/service/s6-svscan-log/run7
-rw-r--r--layout/rootfs/etc/s6-linux-init/run-image/shm/.empty0
-rw-r--r--layout/rootfs/etc/s6-linux-init/run-image/tmp/.empty0
-rw-r--r--layout/rootfs/etc/s6-linux-init/run-image/uncaught-logs/.empty0
15 files changed, 0 insertions, 85 deletions
diff --git a/layout/rootfs/etc/s6-linux-init/env-stage2/.empty b/layout/rootfs/etc/s6-linux-init/env-stage2/.empty
deleted file mode 100644
index e69de29..0000000
--- a/layout/rootfs/etc/s6-linux-init/env-stage2/.empty
+++ /dev/null
diff --git a/layout/rootfs/etc/s6-linux-init/init b/layout/rootfs/etc/s6-linux-init/init
deleted file mode 100755
index 358c2f5..0000000
--- a/layout/rootfs/etc/s6-linux-init/init
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/command/execlineb -P
-
-/command/export PATH /command:/bin
-/command/cd /
-s6-setsid -qb --
-umask 022
-if { s6-echo -- "\n init created by s6-linux-init-maker\n see http://skarnet.org/software/s6-linux-init/\n\n" }
-if { s6-mount -nwt tmpfs -o mode=0755 tmpfs /run }
-if { s6-hiercopy /etc/s6-linux-init/run-image /run }
-
-s6-envdir -I -- /etc/s6-linux-init/env
-redirfd -r 0 /dev/null
-redirfd -wnb 1 /run/service/s6-svscan-log/fifo
-background
-{
- s6-setsid --
- redirfd -w 1 /run/service/s6-svscan-log/fifo
- fdmove -c 2 1
- /etc/rc.init
-}
-unexport !
-cd /run/service
-fdmove -c 2 1
-s6-svscan -st0
diff --git a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGHUP b/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGHUP
deleted file mode 100755
index e45fc97..0000000
--- a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGHUP
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/package/admin/execline/command/execlineb -P
-
-foreground { "/etc/rc.shutdown" }
-s6-svscanctl -h -- "/run"/service
diff --git a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGINT b/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGINT
deleted file mode 100755
index 720ac95..0000000
--- a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGINT
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/package/admin/execline/command/execlineb -P
-
-foreground { "/etc/rc.shutdown" }
-s6-svscanctl -6 -- "/run"/service
diff --git a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGQUIT b/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGQUIT
deleted file mode 100755
index b741a3c..0000000
--- a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGQUIT
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/package/admin/execline/command/execlineb -P
-
-foreground { "/etc/rc.shutdown" }
-s6-svscanctl -q -- "/run"/service
diff --git a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGTERM b/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGTERM
deleted file mode 100755
index 646befa..0000000
--- a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGTERM
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/package/admin/execline/command/execlineb -P
-
-foreground { "/etc/rc.shutdown" }
-s6-svscanctl -t -- "/run"/service
diff --git a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGUSR1 b/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGUSR1
deleted file mode 100755
index b1ffb93..0000000
--- a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGUSR1
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/package/admin/execline/command/execlineb -P
-
-foreground { "/etc/rc.shutdown" }
-s6-svscanctl -7 -- "/run"/service
diff --git a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGUSR2 b/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGUSR2
deleted file mode 100755
index 2b79985..0000000
--- a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/SIGUSR2
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/package/admin/execline/command/execlineb -P
-
-foreground { "/etc/rc.shutdown" }
-s6-svscanctl -0 -- "/run"/service
diff --git a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/crash b/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/crash
deleted file mode 100755
index adc08db..0000000
--- a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/crash
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/command/execlineb -P
-
-redirfd -r 0 /dev/console
-redirfd -w 1 /dev/console
-fdmove -c 2 1
-foreground { s6-echo -- "s6-svscan crashed. Dropping to an interactive shell." }
-/bin/sh -i
diff --git a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/finish b/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/finish
deleted file mode 100755
index 7629cc4..0000000
--- a/layout/rootfs/etc/s6-linux-init/run-image/service/.s6-svscan/finish
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/command/execlineb -S0
-
-cd /
-redirfd -w 2 /dev/console
-fdmove -c 1 2
-foreground { s6-svc -X -- "/run"/service/s6-svscan-log }
-unexport ?
-wait -r -- { }
-foreground { s6-echo "Syncing disks." }
-foreground { s6-sync }
-foreground { s6-echo "Sending all processes the TERM signal." }
-foreground { s6-nuke -th }
-foreground { s6-sleep 2 }
-foreground { s6-echo "Sending all processes the KILL signal." }
-foreground { s6-nuke -k }
-wait { }
-foreground { s6-echo "Unmounting disks and shutting down." }
-foreground { s6-umount -a }
-foreground { s6-mount -ro remount /dev/root / }
-s6-${1} -f
diff --git a/layout/rootfs/etc/s6-linux-init/run-image/service/s6-linux-init-early-getty/run b/layout/rootfs/etc/s6-linux-init/run-image/service/s6-linux-init-early-getty/run
deleted file mode 100755
index c48b72d..0000000
--- a/layout/rootfs/etc/s6-linux-init/run-image/service/s6-linux-init-early-getty/run
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/command/execlineb -P
-
-getty -L -H %%HOSTNAME%% 38400 /dev/%%CONSOLE%%
diff --git a/layout/rootfs/etc/s6-linux-init/run-image/service/s6-svscan-log/run b/layout/rootfs/etc/s6-linux-init/run-image/service/s6-svscan-log/run
deleted file mode 100755
index 896a294..0000000
--- a/layout/rootfs/etc/s6-linux-init/run-image/service/s6-svscan-log/run
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/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
diff --git a/layout/rootfs/etc/s6-linux-init/run-image/shm/.empty b/layout/rootfs/etc/s6-linux-init/run-image/shm/.empty
deleted file mode 100644
index e69de29..0000000
--- a/layout/rootfs/etc/s6-linux-init/run-image/shm/.empty
+++ /dev/null
diff --git a/layout/rootfs/etc/s6-linux-init/run-image/tmp/.empty b/layout/rootfs/etc/s6-linux-init/run-image/tmp/.empty
deleted file mode 100644
index e69de29..0000000
--- a/layout/rootfs/etc/s6-linux-init/run-image/tmp/.empty
+++ /dev/null
diff --git a/layout/rootfs/etc/s6-linux-init/run-image/uncaught-logs/.empty b/layout/rootfs/etc/s6-linux-init/run-image/uncaught-logs/.empty
deleted file mode 100644
index e69de29..0000000
--- a/layout/rootfs/etc/s6-linux-init/run-image/uncaught-logs/.empty
+++ /dev/null