diff options
author | davidovski <david@davidovski.xyz> | 2022-03-01 23:14:41 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-01 23:14:41 +0000 |
commit | ea4267fac55c7d8a6093a6b03ff0e9c795786d3e (patch) | |
tree | 04905981b9d5ad7a4710c472faf920f3c5e28375 /s6 | |
parent | efee4ebf43e376a7cd8b8abcef0c70aa90427bb4 (diff) |
reorganised
Diffstat (limited to 's6')
257 files changed, 0 insertions, 702 deletions
diff --git a/s6/base/bin/halt b/s6/base/bin/halt deleted file mode 100755 index a2c7938..0000000 --- a/s6/base/bin/halt +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -S0 - -s6-linux-init-hpr -h $@ diff --git a/s6/base/bin/init b/s6/base/bin/init deleted file mode 100755 index 278e493..0000000 --- a/s6/base/bin/init +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -S0 - -s6-linux-init -c "/etc/s6/base" -m 0022 -p "/bin:/sbin:/usr/bin" -D "default" -- "$@" diff --git a/s6/base/bin/poweroff b/s6/base/bin/poweroff deleted file mode 100755 index 8177a96..0000000 --- a/s6/base/bin/poweroff +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -S0 - -s6-linux-init-hpr -p $@ diff --git a/s6/base/bin/reboot b/s6/base/bin/reboot deleted file mode 100755 index 8e82d11..0000000 --- a/s6/base/bin/reboot +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -S0 - -s6-linux-init-hpr -r $@ diff --git a/s6/base/bin/shutdown b/s6/base/bin/shutdown deleted file mode 100755 index 6c1b0c3..0000000 --- a/s6/base/bin/shutdown +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -S0 - -s6-linux-init-shutdown $@ diff --git a/s6/base/bin/telinit b/s6/base/bin/telinit deleted file mode 100755 index 823def0..0000000 --- a/s6/base/bin/telinit +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -S0 - -s6-linux-init-telinit $@ diff --git a/s6/base/run-image/service/.s6-svscan/SIGHUP b/s6/base/run-image/service/.s6-svscan/SIGHUP deleted file mode 100755 index 130ab12..0000000 --- a/s6/base/run-image/service/.s6-svscan/SIGHUP +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/execlineb -P - diff --git a/s6/base/run-image/service/.s6-svscan/SIGINT b/s6/base/run-image/service/.s6-svscan/SIGINT deleted file mode 100755 index 9a7eeaf..0000000 --- a/s6/base/run-image/service/.s6-svscan/SIGINT +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P - -s6-linux-init-shutdown -a -r -- now diff --git a/s6/base/run-image/service/.s6-svscan/SIGPWR b/s6/base/run-image/service/.s6-svscan/SIGPWR deleted file mode 100755 index bc55899..0000000 --- a/s6/base/run-image/service/.s6-svscan/SIGPWR +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P - -s6-linux-init-shutdown -a -p -- now diff --git a/s6/base/run-image/service/.s6-svscan/SIGQUIT b/s6/base/run-image/service/.s6-svscan/SIGQUIT deleted file mode 100755 index 130ab12..0000000 --- a/s6/base/run-image/service/.s6-svscan/SIGQUIT +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/execlineb -P - diff --git a/s6/base/run-image/service/.s6-svscan/SIGTERM b/s6/base/run-image/service/.s6-svscan/SIGTERM deleted file mode 100755 index 130ab12..0000000 --- a/s6/base/run-image/service/.s6-svscan/SIGTERM +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/execlineb -P - diff --git a/s6/base/run-image/service/.s6-svscan/SIGUSR1 b/s6/base/run-image/service/.s6-svscan/SIGUSR1 deleted file mode 100755 index bc55899..0000000 --- a/s6/base/run-image/service/.s6-svscan/SIGUSR1 +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P - -s6-linux-init-shutdown -a -p -- now diff --git a/s6/base/run-image/service/.s6-svscan/SIGUSR2 b/s6/base/run-image/service/.s6-svscan/SIGUSR2 deleted file mode 100755 index 5bbca00..0000000 --- a/s6/base/run-image/service/.s6-svscan/SIGUSR2 +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P - -s6-linux-init-shutdown -a -h -- now diff --git a/s6/base/run-image/service/.s6-svscan/SIGWINCH b/s6/base/run-image/service/.s6-svscan/SIGWINCH deleted file mode 100755 index 130ab12..0000000 --- a/s6/base/run-image/service/.s6-svscan/SIGWINCH +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/execlineb -P - diff --git a/s6/base/run-image/service/.s6-svscan/crash b/s6/base/run-image/service/.s6-svscan/crash deleted file mode 100755 index e5a9440..0000000 --- a/s6/base/run-image/service/.s6-svscan/crash +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/execlineb -P - -redirfd -w 2 /dev/console -fdmove -c 1 2 -foreground { s6-linux-init-echo -- "s6-svscan crashed. Rebooting." } -s6-linux-init-hpr -fr diff --git a/s6/base/run-image/service/.s6-svscan/finish b/s6/base/run-image/service/.s6-svscan/finish deleted file mode 100755 index ad17596..0000000 --- a/s6/base/run-image/service/.s6-svscan/finish +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/execlineb -P - -redirfd -w 2 /dev/console -fdmove -c 1 2 -foreground { s6-linux-init-echo -- "s6-svscan exited. Rebooting." } -s6-linux-init-hpr -fr diff --git a/s6/base/run-image/service/s6-linux-init-early-getty/run b/s6/base/run-image/service/s6-linux-init-early-getty/run deleted file mode 100755 index 646423b..0000000 --- a/s6/base/run-image/service/s6-linux-init-early-getty/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P - -/sbin/agetty -L -8 tty1 115200 diff --git a/s6/base/run-image/service/s6-linux-init-logouthookd/notification-fd b/s6/base/run-image/service/s6-linux-init-logouthookd/notification-fd deleted file mode 100644 index d00491f..0000000 --- a/s6/base/run-image/service/s6-linux-init-logouthookd/notification-fd +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/s6/base/run-image/service/s6-linux-init-logouthookd/run b/s6/base/run-image/service/s6-linux-init-logouthookd/run deleted file mode 100755 index 9698c56..0000000 --- a/s6/base/run-image/service/s6-linux-init-logouthookd/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/execlineb -P - -s6-ipcserver -1 -a 0700 -c 1000 -C 1000 -- s -s6-linux-init-logouthookd diff --git a/s6/base/run-image/service/s6-linux-init-runleveld/notification-fd b/s6/base/run-image/service/s6-linux-init-runleveld/notification-fd deleted file mode 100644 index 00750ed..0000000 --- a/s6/base/run-image/service/s6-linux-init-runleveld/notification-fd +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/s6/base/run-image/service/s6-linux-init-runleveld/run b/s6/base/run-image/service/s6-linux-init-runleveld/run deleted file mode 100755 index 1196d8d..0000000 --- a/s6/base/run-image/service/s6-linux-init-runleveld/run +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/execlineb -P - -fdmove -c 2 1 -fdmove 1 3 -s6-ipcserver -1 -a 0700 -c 1 -- s -s6-sudod -dt30000 -- -"/etc/s6/base"/scripts/runlevel diff --git a/s6/base/run-image/service/s6-linux-init-shutdownd/run b/s6/base/run-image/service/s6-linux-init-shutdownd/run deleted file mode 100755 index 8258d75..0000000 --- a/s6/base/run-image/service/s6-linux-init-shutdownd/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P - -s6-linux-init-shutdownd -c "/etc/s6/base" -g 3000 diff --git a/s6/base/run-image/service/s6-svscan-log/notification-fd b/s6/base/run-image/service/s6-svscan-log/notification-fd deleted file mode 100644 index 00750ed..0000000 --- a/s6/base/run-image/service/s6-svscan-log/notification-fd +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/s6/base/run-image/service/s6-svscan-log/run b/s6/base/run-image/service/s6-svscan-log/run deleted file mode 100755 index 7028d1b..0000000 --- a/s6/base/run-image/service/s6-svscan-log/run +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/execlineb -P - -redirfd -w 1 /dev/null -redirfd -rnb 0 fifo -s6-log -bpd3 -- T /run/uncaught-logs diff --git a/s6/base/run-image/service/utmpd/notification-fd b/s6/base/run-image/service/utmpd/notification-fd deleted file mode 100644 index 00750ed..0000000 --- a/s6/base/run-image/service/utmpd/notification-fd +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/s6/base/run-image/service/utmpd/run b/s6/base/run-image/service/utmpd/run deleted file mode 100755 index 35c60c5..0000000 --- a/s6/base/run-image/service/utmpd/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/execlineb -P - -fdmove -c 2 1 -s6-setuidgid "utmp" -cd /run/utmps -fdmove 1 3 -s6-ipcserver -1 -c 1000 -- /run/utmps/.utmpd-socket -utmps-utmpd diff --git a/s6/base/run-image/service/wtmpd/notification-fd b/s6/base/run-image/service/wtmpd/notification-fd deleted file mode 100644 index 00750ed..0000000 --- a/s6/base/run-image/service/wtmpd/notification-fd +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/s6/base/run-image/service/wtmpd/run b/s6/base/run-image/service/wtmpd/run deleted file mode 100755 index 79815bb..0000000 --- a/s6/base/run-image/service/wtmpd/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/execlineb -P - -fdmove -c 2 1 -s6-setuidgid "utmp" -cd /run/utmps -fdmove 1 3 -s6-ipcserver -1 -c 1000 -- /run/utmps/.wtmpd-socket -utmps-wtmpd diff --git a/s6/base/scripts/rc.init b/s6/base/scripts/rc.init deleted file mode 100755 index 56c3e7b..0000000 --- a/s6/base/scripts/rc.init +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh -e - -rl="$1" -shift - -### argv now contains the arguments of the kernel command line that are -### not of the form key=value. (The key=value arguments were stored by -### s6-linux-init into an envdir, if instructed so via the -s option.) -### Normally this argv remains unused because programs that need the -### kernel command line usually read it later on from /proc/cmdline - -### but just in case, it's available here. - - -### 1. Early preparation -### This is done only once at boot time. -### Ideally, this phase should just initialize the service manager. - -### If your services are managed by sysv-rc: -# /etc/init.d/rcS - -### If your services are managed by OpenRC: -# /sbin/openrc sysinit -# /sbin/openrc boot - -### If your services are managed by s6-rc: -### (replace /run/service with your scandir) -s6-rc-init -c /etc/s6/db/current /run/service - - -### 2. Starting the wanted set of services -### This is also called every time you change runlevels with telinit. -### (edit the location to suit your installation) -### By default, $rl is the string "default", unless you changed it -### via the -D option to s6-linux-init-maker. -### Numeric arguments from 1 to 5 on the kernel command line will -### override the default. - -exec /etc/s6/base/scripts/runlevel "$rl" - - -### If this script is run in a container, then 1. and 2. above do not -### apply and you should just call your CMD, if any, or let your -### services run. -### Something like this: - -# if test -z "$*" ; then return 0 ; fi -# $@ -# echo $? > /run/s6-linux-init-container-results/exitcode -# halt diff --git a/s6/base/scripts/rc.shutdown b/s6/base/scripts/rc.shutdown deleted file mode 100755 index f759ba7..0000000 --- a/s6/base/scripts/rc.shutdown +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -e - -### Things to do before hardware halt/reboot/poweroff. -### Ideally, it should be a single call to the service manager, -### telling it to bring all the services down. - -### If your s6-linux-init-maker invocation was made with the -1 -### option, messages from rc.shutdown will appear on /dev/console -### as well as be logged by the catch-all logger. -### If your s6-linux-init-maker invocation did NOT include the -1 -### option, messages from rc.shutdown will only be logged by the -### catch-all logger and will NOT appear on /dev/console. In order -### to print them to /dev/console instead, you may want to -### uncomment the following line: -exec >/dev/console 2>&1 - -### If your services are managed by sysv-rc: -### also remove the K11reboot link from /etc/rc6.d to prevent -### sysv-rc from rebooting prematurely - because sysvinit does -### not properly separate state changes from system init/shutdown. -# exec /etc/init.d/rc 6 - -### If your services are managed by OpenRC: -### also remove the "killprocs" and "mount-ro" symlinks from -### /etc/runlevels/shutdown - because OpenRC does not properly -### separate the service manager from the shutdown manager either. -# exec /sbin/openrc shutdown - -### If your services are managed by s6-rc: -exec s6-rc -v2 -bda change diff --git a/s6/base/scripts/rc.shutdown.final b/s6/base/scripts/rc.shutdown.final deleted file mode 100755 index 3f46b87..0000000 --- a/s6/base/scripts/rc.shutdown.final +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -e - -### Things to do *right before* the machine gets rebooted or -### powered off, at the very end of the shutdown sequence, -### when all the filesystems are unmounted. - -### This is a last resort hook; normally nothing should be -### done here (your rc.shutdown script should have taken care -### of everything) and you should leave this script empty. - -### Some distributions, however, may need to perform some -### actions after unmounting the filesystems: typically if -### an additional teardown action is required on a filesystem -### after unmounting it, or if the system needs to be -### pivot_rooted before it can be shut down, etc. - -### Those are all exceptional cases. If you don't know for -### certain that you need to do something here, you don't. diff --git a/s6/base/scripts/runlevel b/s6/base/scripts/runlevel deleted file mode 100755 index d266171..0000000 --- a/s6/base/scripts/runlevel +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -e - -### This script is called once at boot time by rc.init, and is -### also called by the runleveld service every time the user -### requests a machine state change via telinit. -### Ideally, it should just be a call to the service manager. - -test "$#" -gt 0 || { echo 'runlevel: fatal: too few arguments' 1>&2 ; exit 100 ; } - - -### If your services are managed by sysv-rc: -# exec /etc/init.d/rc "$1" - -### If your services are managed by OpenRC: -# exec /sbin/openrc "$1" - -### If your services are managed by s6-rc: -exec s6-rc -v2 -up change "$1" diff --git a/s6/db/basic/db b/s6/db/basic/db Binary files differdeleted file mode 100644 index e85e344..0000000 --- a/s6/db/basic/db +++ /dev/null diff --git a/s6/db/basic/lock b/s6/db/basic/lock deleted file mode 100644 index e69de29..0000000 --- a/s6/db/basic/lock +++ /dev/null diff --git a/s6/db/basic/n b/s6/db/basic/n Binary files differdeleted file mode 100644 index 806eabf..0000000 --- a/s6/db/basic/n +++ /dev/null diff --git a/s6/db/basic/resolve.cdb b/s6/db/basic/resolve.cdb Binary files differdeleted file mode 100644 index 62fe7a8..0000000 --- a/s6/db/basic/resolve.cdb +++ /dev/null diff --git a/s6/db/basic/servicedirs/agetty2/run b/s6/db/basic/servicedirs/agetty2/run deleted file mode 100755 index 6562e22..0000000 --- a/s6/db/basic/servicedirs/agetty2/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/execlineb -P -exec /sbin/agetty -L -8 tty2 115200 diff --git a/s6/db/basic/servicedirs/agetty3/run b/s6/db/basic/servicedirs/agetty3/run deleted file mode 100755 index a6117c5..0000000 --- a/s6/db/basic/servicedirs/agetty3/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/execlineb -P -exec /sbin/agetty -L -8 tty3 115200 diff --git a/s6/db/basic/servicedirs/agetty4/run b/s6/db/basic/servicedirs/agetty4/run deleted file mode 100755 index 1176c91..0000000 --- a/s6/db/basic/servicedirs/agetty4/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/execlineb -P -exec /sbin/agetty -L -8 tty4 115200 diff --git a/s6/db/basic/servicedirs/agetty5/run b/s6/db/basic/servicedirs/agetty5/run deleted file mode 100755 index c720902..0000000 --- a/s6/db/basic/servicedirs/agetty5/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/execlineb -P -exec /sbin/agetty -L -8 tty5 115200 diff --git a/s6/db/basic/servicedirs/agetty6/run b/s6/db/basic/servicedirs/agetty6/run deleted file mode 100755 index 9d0fc1a..0000000 --- a/s6/db/basic/servicedirs/agetty6/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/execlineb -P -exec /sbin/agetty -L -8 tty6 115200 diff --git a/s6/db/basic/servicedirs/s6rc-fdholder/data/autofilled b/s6/db/basic/servicedirs/s6rc-fdholder/data/autofilled deleted file mode 100644 index 5a7694f..0000000 --- a/s6/db/basic/servicedirs/s6rc-fdholder/data/autofilled +++ /dev/null @@ -1 +0,0 @@ -udevd-log diff --git a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/gid/0/allow b/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/gid/0/allow deleted file mode 100644 index e69de29..0000000 --- a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/gid/0/allow +++ /dev/null diff --git a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/gid/0/env b/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/gid/0/env deleted file mode 120000 index dbe1277..0000000 --- a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/gid/0/env +++ /dev/null @@ -1 +0,0 @@ -../../uid/0/env
\ No newline at end of file diff --git a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/allow b/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/allow deleted file mode 100644 index e69de29..0000000 --- a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/allow +++ /dev/null diff --git a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP b/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP deleted file mode 100644 index 8b13789..0000000 --- a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP +++ /dev/null @@ -1 +0,0 @@ - diff --git a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_LIST b/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_LIST deleted file mode 100644 index 8b13789..0000000 --- a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_LIST +++ /dev/null @@ -1 +0,0 @@ - diff --git a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX b/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX deleted file mode 120000 index 8534683..0000000 --- a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX +++ /dev/null @@ -1 +0,0 @@ -S6_FDHOLDER_STORE_REGEX
\ No newline at end of file diff --git a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP b/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP deleted file mode 100644 index 8b13789..0000000 --- a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP +++ /dev/null @@ -1 +0,0 @@ - diff --git a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX b/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX deleted file mode 100644 index d1e45dc..0000000 --- a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX +++ /dev/null @@ -1 +0,0 @@ -^pipe:s6rc- diff --git a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/self b/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/self deleted file mode 120000 index c227083..0000000 --- a/s6/db/basic/servicedirs/s6rc-fdholder/data/rules/uid/self +++ /dev/null @@ -1 +0,0 @@ -0
\ No newline at end of file diff --git a/s6/db/basic/servicedirs/s6rc-fdholder/notification-fd b/s6/db/basic/servicedirs/s6rc-fdholder/notification-fd deleted file mode 100644 index d00491f..0000000 --- a/s6/db/basic/servicedirs/s6rc-fdholder/notification-fd +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/s6/db/basic/servicedirs/s6rc-fdholder/run b/s6/db/basic/servicedirs/s6rc-fdholder/run deleted file mode 100755 index 0a400c7..0000000 --- a/s6/db/basic/servicedirs/s6rc-fdholder/run +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/execlineb -P -pipeline -dw -- -{ - if -n -- - { - forstdin -x 1 -- i - exit 1 - } - if -nt -- - { - redirfd -r 0 ./data/autofilled - s6-ipcclient -l0 -- s - /lib/s6-rc/s6-rc-fdholder-filler -1 -- - } - s6-svc -t . -} -s6-fdholder-daemon -1 -i data/rules -- s diff --git a/s6/db/basic/servicedirs/s6rc-oneshot-runner/data/rules/gid/0/allow b/s6/db/basic/servicedirs/s6rc-oneshot-runner/data/rules/gid/0/allow deleted file mode 100644 index e69de29..0000000 --- a/s6/db/basic/servicedirs/s6rc-oneshot-runner/data/rules/gid/0/allow +++ /dev/null diff --git a/s6/db/basic/servicedirs/s6rc-oneshot-runner/data/rules/uid/0/allow b/s6/db/basic/servicedirs/s6rc-oneshot-runner/data/rules/uid/0/allow deleted file mode 100644 index e69de29..0000000 --- a/s6/db/basic/servicedirs/s6rc-oneshot-runner/data/rules/uid/0/allow +++ /dev/null diff --git a/s6/db/basic/servicedirs/s6rc-oneshot-runner/data/rules/uid/self b/s6/db/basic/servicedirs/s6rc-oneshot-runner/data/rules/uid/self deleted file mode 120000 index c227083..0000000 --- a/s6/db/basic/servicedirs/s6rc-oneshot-runner/data/rules/uid/self +++ /dev/null @@ -1 +0,0 @@ -0
\ No newline at end of file diff --git a/s6/db/basic/servicedirs/s6rc-oneshot-runner/notification-fd b/s6/db/basic/servicedirs/s6rc-oneshot-runner/notification-fd deleted file mode 100644 index 00750ed..0000000 --- a/s6/db/basic/servicedirs/s6rc-oneshot-runner/notification-fd +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/s6/db/basic/servicedirs/s6rc-oneshot-runner/run b/s6/db/basic/servicedirs/s6rc-oneshot-runner/run deleted file mode 100755 index d819a25..0000000 --- a/s6/db/basic/servicedirs/s6rc-oneshot-runner/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/execlineb -P -fdmove -c 2 1 -fdmove 1 3 -s6-ipcserver-socketbinder -- s -s6-ipcserverd -1 -- -s6-ipcserver-access -v0 -E -l0 -i data/rules -- -s6-sudod -t 30000 -- -/lib/s6-rc/s6-rc-oneshot-run -l ../.. -- diff --git a/s6/db/basic/servicedirs/udevd-log/notification-fd b/s6/db/basic/servicedirs/udevd-log/notification-fd deleted file mode 100644 index 00750ed..0000000 --- a/s6/db/basic/servicedirs/udevd-log/notification-fd +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/s6/db/basic/servicedirs/udevd-log/run b/s6/db/basic/servicedirs/udevd-log/run deleted file mode 100755 index a8ac83f..0000000 --- a/s6/db/basic/servicedirs/udevd-log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -s6-fdholder-retrieve ../s6rc-fdholder/s "pipe:s6rc-r-udevd-log" -./run.user diff --git a/s6/db/basic/servicedirs/udevd-log/run.user b/s6/db/basic/servicedirs/udevd-log/run.user deleted file mode 100755 index 0bf9ad7..0000000 --- a/s6/db/basic/servicedirs/udevd-log/run.user +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/execlineb -P -foreground { if -n -t { test -d /var/log/udevd } install -d -m 0755 -o s6log -g s6log /var/log/udevd } -envfile /etc/s6/sv/udevd-log/conf -importas -sCiu DIRECTIVES DIRECTIVES -s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/udevd diff --git a/s6/db/basic/servicedirs/udevd-srv/run b/s6/db/basic/servicedirs/udevd-srv/run deleted file mode 100755 index f5f8202..0000000 --- a/s6/db/basic/servicedirs/udevd-srv/run +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/execlineb -P -fdmove 1 0 -s6-fdholder-retrieve ../s6rc-fdholder/s "pipe:s6rc-w-udevd-log" -fdswap 0 1 -./run.user diff --git a/s6/db/basic/servicedirs/udevd-srv/run.user b/s6/db/basic/servicedirs/udevd-srv/run.user deleted file mode 100755 index fea1782..0000000 --- a/s6/db/basic/servicedirs/udevd-srv/run.user +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/execlineb -P -# Initiate udev -fdmove -c 2 1 -if { s6-echo -- "[ udev-daemon ] 1/1 : Starting udev..." } -exec -c -udevd diff --git a/s6/db/current b/s6/db/current deleted file mode 120000 index 5dc1ed1..0000000 --- a/s6/db/current +++ /dev/null @@ -1 +0,0 @@ -/etc/s6/db/basic
\ No newline at end of file diff --git a/s6/rc.local b/s6/rc.local deleted file mode 100644 index c266bff..0000000 --- a/s6/rc.local +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -# -# Enter custom commands here. By default, they will be executed on startup with the -# "boot" bundle before running services. If you need these commands to wait on certain -# services being up, you can edit the /etc/s6/sv/rc-local/dependencies file and then -# recompile the database. diff --git a/s6/s6.conf b/s6/s6.conf deleted file mode 100644 index 6f8ed19..0000000 --- a/s6/s6.conf +++ /dev/null @@ -1,37 +0,0 @@ -# /etc/s6/s6.conf - system configuration - -# Set HARDWARECLOCK to UTC if your Hardware Clock is set to UTC (also known as -# Greenwich Mean Time). If that clock is set to the local time, then -# set HARDWARECLOCK to localtime. Note that if you dual boot with Windows, then -# you should set it to localtime. - -HARDWARECLOCK=localtime - -# cgroups mode -# legacy mounts cgroups version 1 on /sys/fs/cgroup -# unified mounts cgroups version 2 on /sys/fs/cgroup -# hybrid mounts cgroups version 2 on /sys/fs/cgroup/unified and -# cgroups version 1 on /sys/fs/cgroup - -CGROUP_MODE=hybrid - -# This is a list of controllers which should be enabled for cgroups version 2. -# If hybrid mode is being used, controllers listed here will not be -# available for cgroups version 1. none means no controllers will be used -# For none, put "" - -CGROUP_CONTROLLERS="" - -# This switch controls whether or not cgroups version 1 controllers are -# individually mounted under -# /sys/fs/cgroup in hybrid or legacy mode - -HAVE_CONTROLLER1_GROUPS=true - -# Which gettys to enable by default. Only tty2 - tty6 are valid (tty1 is provided -# by s6-linux-init). Note that every value must be separated by a space. -#GETTYS="tty2 tty3 tty4 tty5 tty6" -# **Option is broken** - -# Force the root filesystem to be checked at (every) boot -FORCECHECK=no diff --git a/s6/scripts/clean_tmp.sh b/s6/scripts/clean_tmp.sh deleted file mode 100755 index 44cbd48..0000000 --- a/s6/scripts/clean_tmp.sh +++ /dev/null @@ -1,2 +0,0 @@ -#! /bin/sh -cd /tmp && find . -xdev -mindepth 1 ! -name lost+found -delete diff --git a/s6/scripts/console_set.sh b/s6/scripts/console_set.sh deleted file mode 100755 index 9c0e9f3..0000000 --- a/s6/scripts/console_set.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -[ -r /etc/vconsole.conf ] && . /etc/vconsole.conf -TTYS=${TTYS:-6} -_index=0 -while [ ${_index} -le $TTYS ]; do - if [ -n "$FONT" ]; then - setfont ${FONT_MAP:+-m $FONT_MAP} ${FONT_UNIMAP:+-u $FONT_UNIMAP} \ - $FONT -C "/dev/tty${_index}" - fi - printf "\033%s" "%G" >/dev/tty${_index} - _index=$((_index + 1)) -done -if [ -n "$KEYMAP" ]; then - loadkeys -q -u ${KEYMAP} -fi diff --git a/s6/scripts/mount-cgroups b/s6/scripts/mount-cgroups deleted file mode 100755 index fd711a0..0000000 --- a/s6/scripts/mount-cgroups +++ /dev/null @@ -1,120 +0,0 @@ -#!/bin/sh - -CGROUP_OPTS=nodev,noexec,nosuid -CGROUP_MODE=$1 -CGROUP_CONTROLLERS=$2 -HAVE_CONTROLLER1_GROUPS=$3 - -#if [ $CGROUP_CONTROLLERS = "none" ]; then -# CGROUP_CONTROLLERS="" -#fi - -cgroup2_find_path() { - if grep -qw cgroup2 /proc/filesystems; then - case "${CGROUP_MODE}" in - hybrid) printf "/sys/fs/cgroup/unified" ;; - unified) printf "/sys/fs/cgroup" ;; - esac - fi - return 0 -} - -cgroup1_base() { - grep -qw cgroup /proc/filesystems || return 0 - if ! mountpoint -q /sys/fs/cgroup; then - local opts="${CGROUP_OPTS},mode=755,size=${rc_cgroupsize:-10m}" - mount -n -t tmpfs -o "${opts}" cgroup_root /sys/fs/cgroup - fi - - if ! mountpoint -q /sys/fs/cgroup/openrc; then - local agent="/etc/s6/sv/mount-cgroups/cgroup-release-agent.sh" - mkdir /sys/fs/cgroup/openrc - mount -n -t cgroup -o none,${CGROUP_OPTS},name=openrc,release_agent="$agent" openrc /sys/fs/cgroup/openrc - printf 1 > /sys/fs/cgroup/openrc/notify_on_release - fi - return 0 -} - -cgroup1_controllers() { - ${HAVE_CONTROLLER1_GROUPS} && [ -e /proc/cgroups ] && grep -qw cgroup /proc/filesystems || return 0 - while read -r name _ _ enabled _; do - case "${enabled}" in - 1) if mountpoint -q "/sys/fs/cgroup/${name}";then continue;fi - local x - for x in $CGROUP_CONTROLLERS; do - [ "${name}" = "blkio" ] && [ "${x}" = "io" ] && - continue 2 - [ "${name}" = "${x}" ] && - continue 2 - done - mkdir "/sys/fs/cgroup/${name}" - mount -n -t cgroup -o "${CGROUP_OPTS},${name}" "${name}" "/sys/fs/cgroup/${name}" - ;; - esac - done < /proc/cgroups - return 0 -} - -cgroup2_base() { - grep -qw cgroup2 /proc/filesystems || return 0 - local base - base="$(cgroup2_find_path)" - mkdir -p "${base}" - mount -t cgroup2 none -o "${CGROUP_OPTS},nsdelegate" "${base}" 2> /dev/null || - mount -t cgroup2 none -o "${CGROUP_OPTS}" "${base}" - return 0 -} - -cgroup2_controllers() { - grep -qw cgroup2 /proc/filesystems || return 0 - local active cgroup_path x y - cgroup_path="$(cgroup2_find_path)" - [ -z "${cgroup_path}" ] && return 0 - [ -e "${cgroup_path}/cgroup.controllers" ] && read -r active < "${cgroup_path}/cgroup.controllers" - for x in ${CGROUP_CONTROLLERS}; do - for y in ${active}; do - [ "$x" = "$y" ] && [ -e "${cgroup_path}/cgroup.subtree_control" ] && - echo "+${x}" > "${cgroup_path}/cgroup.subtree_control" - done - done - return 0 -} - -cgroups_hybrid() { - cgroup1_base - cgroup2_base - cgroup2_controllers - cgroup1_controllers - return 0 -} - -cgroups_legacy() { - cgroup1_base - cgroup1_controllers - return 0 -} - -cgroups_unified() { - cgroup2_base - cgroup2_controllers - return 0 -} - -mount_cgroups() { - case "${CGROUP_MODE}" in - hybrid) cgroups_hybrid ;; - legacy) cgroups_legacy ;; - unified) cgroups_unified ;; - esac - return 0 -} - -mount_cgs() { - if [ -d /sys/fs/cgroup ];then - mount_cgroups - return 0 - fi - return 1 -} - -mount_cgs diff --git a/s6/skel/rc.init b/s6/skel/rc.init deleted file mode 100644 index b467448..0000000 --- a/s6/skel/rc.init +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -e - -rl="$1" -shift - -s6-rc-init -c /etc/s6/db/current /run/service - -exec /etc/s6/base/scripts/runlevel "$rl" - diff --git a/s6/skel/rc.shutdown b/s6/skel/rc.shutdown deleted file mode 100644 index bc5771d..0000000 --- a/s6/skel/rc.shutdown +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec s6-rc -bda change diff --git a/s6/skel/rc.shutdown.final b/s6/skel/rc.shutdown.final deleted file mode 100644 index 3f46b87..0000000 --- a/s6/skel/rc.shutdown.final +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -e - -### Things to do *right before* the machine gets rebooted or -### powered off, at the very end of the shutdown sequence, -### when all the filesystems are unmounted. - -### This is a last resort hook; normally nothing should be -### done here (your rc.shutdown script should have taken care -### of everything) and you should leave this script empty. - -### Some distributions, however, may need to perform some -### actions after unmounting the filesystems: typically if -### an additional teardown action is required on a filesystem -### after unmounting it, or if the system needs to be -### pivot_rooted before it can be shut down, etc. - -### Those are all exceptional cases. If you don't know for -### certain that you need to do something here, you don't. diff --git a/s6/skel/runlevel b/s6/skel/runlevel deleted file mode 100644 index f9db6e4..0000000 --- a/s6/skel/runlevel +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -e - -test "$#" -gt 0 || { echo 'runlevel: fatal: too few arguments' 1>&2 ; exit 100 ; } - -exec s6-rc -up change "$1" diff --git a/s6/sv/agetty2/dependencies.d/hostname b/s6/sv/agetty2/dependencies.d/hostname deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/agetty2/dependencies.d/hostname +++ /dev/null diff --git a/s6/sv/agetty2/run b/s6/sv/agetty2/run deleted file mode 100644 index 1bb017f..0000000 --- a/s6/sv/agetty2/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Services ] : Enabling tty2" } -exec /sbin/agetty -L -8 tty2 115200 diff --git a/s6/sv/agetty2/type b/s6/sv/agetty2/type deleted file mode 100644 index 5883cff..0000000 --- a/s6/sv/agetty2/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/s6/sv/agetty3/dependencies.d/hostname b/s6/sv/agetty3/dependencies.d/hostname deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/agetty3/dependencies.d/hostname +++ /dev/null diff --git a/s6/sv/agetty3/run b/s6/sv/agetty3/run deleted file mode 100644 index 5a5cf19..0000000 --- a/s6/sv/agetty3/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Services ] : Enabling tty3" } -exec /sbin/agetty -L -8 tty3 115200 diff --git a/s6/sv/agetty3/type b/s6/sv/agetty3/type deleted file mode 100644 index 5883cff..0000000 --- a/s6/sv/agetty3/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/s6/sv/agetty4/dependencies.d/hostname b/s6/sv/agetty4/dependencies.d/hostname deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/agetty4/dependencies.d/hostname +++ /dev/null diff --git a/s6/sv/agetty4/run b/s6/sv/agetty4/run deleted file mode 100644 index 3f6a88e..0000000 --- a/s6/sv/agetty4/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Services ] : Enabling tty4" } -exec /sbin/agetty -L -8 tty4 115200 diff --git a/s6/sv/agetty4/type b/s6/sv/agetty4/type deleted file mode 100644 index 5883cff..0000000 --- a/s6/sv/agetty4/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/s6/sv/agetty5/dependencies.d/hostname b/s6/sv/agetty5/dependencies.d/hostname deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/agetty5/dependencies.d/hostname +++ /dev/null diff --git a/s6/sv/agetty5/run b/s6/sv/agetty5/run deleted file mode 100644 index 2f2e326..0000000 --- a/s6/sv/agetty5/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Services ] : Enabling tty5" } -exec /sbin/agetty -L -8 tty5 115200 diff --git a/s6/sv/agetty5/type b/s6/sv/agetty5/type deleted file mode 100644 index 5883cff..0000000 --- a/s6/sv/agetty5/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/s6/sv/agetty6/dependencies.d/hostname b/s6/sv/agetty6/dependencies.d/hostname deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/agetty6/dependencies.d/hostname +++ /dev/null diff --git a/s6/sv/agetty6/run b/s6/sv/agetty6/run deleted file mode 100644 index 49f8a3a..0000000 --- a/s6/sv/agetty6/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Services ] : Enabling tty6" } -exec /sbin/agetty -L -8 tty6 115200 diff --git a/s6/sv/agetty6/type b/s6/sv/agetty6/type deleted file mode 100644 index 5883cff..0000000 --- a/s6/sv/agetty6/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/s6/sv/cgroups/dependencies.d/mount-procfs b/s6/sv/cgroups/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/cgroups/dependencies.d/mount-procfs +++ /dev/null diff --git a/s6/sv/cgroups/dependencies.d/mount-sysfs b/s6/sv/cgroups/dependencies.d/mount-sysfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/cgroups/dependencies.d/mount-sysfs +++ /dev/null diff --git a/s6/sv/cgroups/dependencies.d/vkfs b/s6/sv/cgroups/dependencies.d/vkfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/cgroups/dependencies.d/vkfs +++ /dev/null diff --git a/s6/sv/cgroups/type b/s6/sv/cgroups/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/cgroups/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/cgroups/up b/s6/sv/cgroups/up deleted file mode 100644 index 51e4246..0000000 --- a/s6/sv/cgroups/up +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Read-Only Mode ] 1/9 : Mounting cgroups" } -envfile /etc/s6/s6.conf -importas -iu CGROUP_MODE CGROUP_MODE -importas -iu CGROUP_CONTROLLERS CGROUP_CONTROLLERS -importas -iu HAVE_CONTROLLER1_GROUPS HAVE_CONTROLLER1_GROUPS -exec sh /etc/s6/scripts/mount-cgroups $CGROUP_MODE $CGROUP_CONTROLLERS $HAVE_CONTROLLER1_GROUPS diff --git a/s6/sv/checkfs/dependencies.d/udev b/s6/sv/checkfs/dependencies.d/udev deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/checkfs/dependencies.d/udev +++ /dev/null diff --git a/s6/sv/checkfs/type b/s6/sv/checkfs/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/checkfs/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/checkfs/up b/s6/sv/checkfs/up deleted file mode 100644 index 9dd2952..0000000 --- a/s6/sv/checkfs/up +++ /dev/null @@ -1,12 +0,0 @@ -envfile /etc/s6/s6.conf -importas -iu FORCECHECK FORCECHECK -ifelse -X { s6-test $FORCECHCK = yes } - { - redirfd -w 1 /dev/console - if { s6-echo -- "[ Checkrootfs ] >>>>> Check of filesystem was asked, please wait" } - foreground { fsck -A -T -a -f noopts=_netdev } - s6-echo -- "[ Checkrootfs ] >>>>> Check of filesystem was asked, please wait" -} -if -t { - fsck -A -T -a noopts=_netdev -} diff --git a/s6/sv/cleantmp/dependencies.d/remount-root b/s6/sv/cleantmp/dependencies.d/remount-root deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/cleantmp/dependencies.d/remount-root +++ /dev/null diff --git a/s6/sv/cleantmp/down b/s6/sv/cleantmp/down deleted file mode 100644 index c5f65cc..0000000 --- a/s6/sv/cleantmp/down +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Shutdown ] : Cleaning /tmp" } -/bin/sh -c "/etc/s6/scripts/clean_tmp.sh" diff --git a/s6/sv/cleantmp/type b/s6/sv/cleantmp/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/cleantmp/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/cleantmp/up b/s6/sv/cleantmp/up deleted file mode 100644 index 9c24500..0000000 --- a/s6/sv/cleantmp/up +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ ReadWrite Mode ] 0/6 : Cleaning /tmp" } -/bin/sh -c "/etc/s6/scripts/clean_tmp.sh" diff --git a/s6/sv/console/dependencies.d/udev b/s6/sv/console/dependencies.d/udev deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/console/dependencies.d/udev +++ /dev/null diff --git a/s6/sv/console/type b/s6/sv/console/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/console/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/console/up b/s6/sv/console/up deleted file mode 100644 index 416edb9..0000000 --- a/s6/sv/console/up +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Read-Only Mode ] 2/9 : Setting up console" } -sh -c "/etc/s6/scripts/console_set.sh" diff --git a/s6/sv/default/contents.d/machine b/s6/sv/default/contents.d/machine deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/default/contents.d/machine +++ /dev/null diff --git a/s6/sv/default/contents.d/services b/s6/sv/default/contents.d/services deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/default/contents.d/services +++ /dev/null diff --git a/s6/sv/default/contents.d/vkfs b/s6/sv/default/contents.d/vkfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/default/contents.d/vkfs +++ /dev/null diff --git a/s6/sv/default/type b/s6/sv/default/type deleted file mode 100644 index 757b422..0000000 --- a/s6/sv/default/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/s6/sv/dmesg/dependencies.d/remount-root b/s6/sv/dmesg/dependencies.d/remount-root deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/dmesg/dependencies.d/remount-root +++ /dev/null diff --git a/s6/sv/dmesg/dependencies.d/vkfs b/s6/sv/dmesg/dependencies.d/vkfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/dmesg/dependencies.d/vkfs +++ /dev/null diff --git a/s6/sv/dmesg/type b/s6/sv/dmesg/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/dmesg/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/dmesg/up b/s6/sv/dmesg/up deleted file mode 100644 index 872a8d7..0000000 --- a/s6/sv/dmesg/up +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ ReadWrite Mode ] 2/6 : Logging kernel boot" } -pipeline { dmesg } s6-setuidgid s6log exec -c s6-log -b -- n3 s2000000 T /var/log/dmesg diff --git a/s6/sv/getty/contents.d/agetty2 b/s6/sv/getty/contents.d/agetty2 deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/getty/contents.d/agetty2 +++ /dev/null diff --git a/s6/sv/getty/contents.d/agetty3 b/s6/sv/getty/contents.d/agetty3 deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/getty/contents.d/agetty3 +++ /dev/null diff --git a/s6/sv/getty/contents.d/agetty4 b/s6/sv/getty/contents.d/agetty4 deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/getty/contents.d/agetty4 +++ /dev/null diff --git a/s6/sv/getty/contents.d/agetty5 b/s6/sv/getty/contents.d/agetty5 deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/getty/contents.d/agetty5 +++ /dev/null diff --git a/s6/sv/getty/contents.d/agetty6 b/s6/sv/getty/contents.d/agetty6 deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/getty/contents.d/agetty6 +++ /dev/null diff --git a/s6/sv/getty/type b/s6/sv/getty/type deleted file mode 100644 index 757b422..0000000 --- a/s6/sv/getty/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/s6/sv/hostname/dependencies.d/mount-procfs b/s6/sv/hostname/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/hostname/dependencies.d/mount-procfs +++ /dev/null diff --git a/s6/sv/hostname/type b/s6/sv/hostname/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/hostname/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/hostname/up b/s6/sv/hostname/up deleted file mode 100644 index 72f519e..0000000 --- a/s6/sv/hostname/up +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Read-Only Mode ] 3/9 : Setting hostname" } -if -t { s6-test -s /etc/hostname } backtick -n HOSTNAME { head -1 /etc/hostname } -importas -iu HOSTNAME HOSTNAME -if -t { s6-test -n $HOSTNAME } redirfd -w 1 /proc/sys/kernel/hostname echo $HOSTNAME diff --git a/s6/sv/hwclock/dependencies.d/udev b/s6/sv/hwclock/dependencies.d/udev deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/hwclock/dependencies.d/udev +++ /dev/null diff --git a/s6/sv/hwclock/down b/s6/sv/hwclock/down deleted file mode 100644 index 5349d21..0000000 --- a/s6/sv/hwclock/down +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Shutdown ] : Saving sytem clock to rtc0" } -envfile /etc/s6/s6.conf -importas -iu HARDWARECLOCK HARDWARECLOCK -foreground { if { s6-test $HARDWARECLOCK = UTC } hwclock --systohc --utc --noadjfile } -foreground { if { s6-test $HARDWARECLOCK = localtime } hwclock --systohc --localtime --noadjfile } diff --git a/s6/sv/hwclock/type b/s6/sv/hwclock/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/hwclock/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/hwclock/up b/s6/sv/hwclock/up deleted file mode 100644 index ee88cbf..0000000 --- a/s6/sv/hwclock/up +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Read-Only Mode ] 4/9 : Setting system clock from rtc0" } -envfile /etc/s6/s6.conf -importas -iu HARDWARECLOCK HARDWARECLOCK -foreground { if { s6-test $HARDWARECLOCK = UTC } hwclock --systz --utc --noadjfile } -foreground { if { s6-test $HARDWARECLOCK = localtime } hwclock --systz --localtime --noadjfile } diff --git a/s6/sv/kermod/dependencies.d/mount-procfs b/s6/sv/kermod/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/kermod/dependencies.d/mount-procfs +++ /dev/null diff --git a/s6/sv/kermod/dependencies.d/mount-sysfs b/s6/sv/kermod/dependencies.d/mount-sysfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/kermod/dependencies.d/mount-sysfs +++ /dev/null diff --git a/s6/sv/kermod/type b/s6/sv/kermod/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/kermod/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/kermod/up b/s6/sv/kermod/up deleted file mode 100644 index f8d4d90..0000000 --- a/s6/sv/kermod/up +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Read-Only Mode ] 5/9 : Setting up Kernel Static Node(s)" } -foreground { if -n { test -d /run/tmpfiles.d } mkdir /run/tmpfiles.d } -foreground { kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf } diff --git a/s6/sv/machine/contents.d/rofs b/s6/sv/machine/contents.d/rofs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/machine/contents.d/rofs +++ /dev/null diff --git a/s6/sv/machine/contents.d/rwfs b/s6/sv/machine/contents.d/rwfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/machine/contents.d/rwfs +++ /dev/null diff --git a/s6/sv/machine/dependencies.d/vkfs b/s6/sv/machine/dependencies.d/vkfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/machine/dependencies.d/vkfs +++ /dev/null diff --git a/s6/sv/machine/type b/s6/sv/machine/type deleted file mode 100644 index 757b422..0000000 --- a/s6/sv/machine/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/s6/sv/mnt-devpts/dependencies.d/mount-procfs b/s6/sv/mnt-devpts/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/mnt-devpts/dependencies.d/mount-procfs +++ /dev/null diff --git a/s6/sv/mnt-devpts/dependencies.d/prep-dev b/s6/sv/mnt-devpts/dependencies.d/prep-dev deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/mnt-devpts/dependencies.d/prep-dev +++ /dev/null diff --git a/s6/sv/mnt-devpts/type b/s6/sv/mnt-devpts/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/mnt-devpts/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/mnt-devpts/up b/s6/sv/mnt-devpts/up deleted file mode 100644 index 32609fa..0000000 --- a/s6/sv/mnt-devpts/up +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Virtual-FS ] 3/6 : Mounting /dev/pts" } -s6-mount -t devpts -o mode=0620,gid=5,nosuid,noexec devpts /dev/pts diff --git a/s6/sv/mnt-shm/dependencies.d/mount-procfs b/s6/sv/mnt-shm/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/mnt-shm/dependencies.d/mount-procfs +++ /dev/null diff --git a/s6/sv/mnt-shm/dependencies.d/prep-dev b/s6/sv/mnt-shm/dependencies.d/prep-dev deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/mnt-shm/dependencies.d/prep-dev +++ /dev/null diff --git a/s6/sv/mnt-shm/type b/s6/sv/mnt-shm/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/mnt-shm/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/mnt-shm/up b/s6/sv/mnt-shm/up deleted file mode 100644 index a461bfc..0000000 --- a/s6/sv/mnt-shm/up +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Virtual-FS ] 4/6 : Mounting /dev/shm" } -s6-mount -t tmpfs -o mode=1777,nosuid,nodev shm /dev/shm diff --git a/s6/sv/modules/dependencies.d/mount-procfs b/s6/sv/modules/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/modules/dependencies.d/mount-procfs +++ /dev/null diff --git a/s6/sv/modules/dependencies.d/udev b/s6/sv/modules/dependencies.d/udev deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/modules/dependencies.d/udev +++ /dev/null diff --git a/s6/sv/modules/type b/s6/sv/modules/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/modules/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/modules/up b/s6/sv/modules/up deleted file mode 100644 index a475dc9..0000000 --- a/s6/sv/modules/up +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Read-Only Mode ] 6/9 : Loading any kernel modules" } -sh -c "modules-load" diff --git a/s6/sv/mount-devfs/contents.d/mnt-devpts b/s6/sv/mount-devfs/contents.d/mnt-devpts deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/mount-devfs/contents.d/mnt-devpts +++ /dev/null diff --git a/s6/sv/mount-devfs/contents.d/mnt-shm b/s6/sv/mount-devfs/contents.d/mnt-shm deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/mount-devfs/contents.d/mnt-shm +++ /dev/null diff --git a/s6/sv/mount-devfs/contents.d/prep-dev b/s6/sv/mount-devfs/contents.d/prep-dev deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/mount-devfs/contents.d/prep-dev +++ /dev/null diff --git a/s6/sv/mount-devfs/dependencies.d/mount-procfs b/s6/sv/mount-devfs/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/mount-devfs/dependencies.d/mount-procfs +++ /dev/null diff --git a/s6/sv/mount-devfs/type b/s6/sv/mount-devfs/type deleted file mode 100644 index 757b422..0000000 --- a/s6/sv/mount-devfs/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/s6/sv/mount-efivars/dependencies.d/mount-sysfs b/s6/sv/mount-efivars/dependencies.d/mount-sysfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/mount-efivars/dependencies.d/mount-sysfs +++ /dev/null diff --git a/s6/sv/mount-efivars/type b/s6/sv/mount-efivars/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/mount-efivars/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/mount-efivars/up b/s6/sv/mount-efivars/up deleted file mode 100644 index 3c2fe6e..0000000 --- a/s6/sv/mount-efivars/up +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Virtual-FS ] 6/6 : Mounting EFI-vars-fs" } -foreground { - if { test -d /sys/firmware/efi } - if -n { mountpoint -q /sys/firmware/efi/efivars } - mount -n -t efivarfs -o ro efivarfs /sys/firmware/efi/efivars -} diff --git a/s6/sv/mount-ksecurity/dependencies.d/mount-sysfs b/s6/sv/mount-ksecurity/dependencies.d/mount-sysfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/mount-ksecurity/dependencies.d/mount-sysfs +++ /dev/null diff --git a/s6/sv/mount-ksecurity/type b/s6/sv/mount-ksecurity/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/mount-ksecurity/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/mount-ksecurity/up b/s6/sv/mount-ksecurity/up deleted file mode 100644 index b7c4240..0000000 --- a/s6/sv/mount-ksecurity/up +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Virtual-FS ] 5/6 : Mounting securityfs" } -foreground { - if { test -d /sys/kernel } - if -n { mountpoint -q /sys/kernel/security } - mount -n -t securityfs securityfs /sys/kernel/security - -} diff --git a/s6/sv/mount-procfs/type b/s6/sv/mount-procfs/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/mount-procfs/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/mount-procfs/up b/s6/sv/mount-procfs/up deleted file mode 100644 index 130a2a9..0000000 --- a/s6/sv/mount-procfs/up +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "|--((( S6+S6-rc Bootscripts v 5.0.0 )))---| " } -if { s6-echo "[ Virtual-FS ] 1/6 : Mounting /proc" } -s6-mount -t proc -o nosuid,noexec,nodev proc /proc diff --git a/s6/sv/mount-sysfs/dependencies.d/mount-procfs b/s6/sv/mount-sysfs/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/mount-sysfs/dependencies.d/mount-procfs +++ /dev/null diff --git a/s6/sv/mount-sysfs/type b/s6/sv/mount-sysfs/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/mount-sysfs/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/mount-sysfs/up b/s6/sv/mount-sysfs/up deleted file mode 100644 index c655ddc..0000000 --- a/s6/sv/mount-sysfs/up +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Virtual-FS ] 2/6 : Mounting /sys" } -s6-mount -t sysfs -o nosuid,noexec,nodev sys /sys diff --git a/s6/sv/net-lo/dependencies.d/remount-root b/s6/sv/net-lo/dependencies.d/remount-root deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/net-lo/dependencies.d/remount-root +++ /dev/null diff --git a/s6/sv/net-lo/dependencies.d/vkfs b/s6/sv/net-lo/dependencies.d/vkfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/net-lo/dependencies.d/vkfs +++ /dev/null diff --git a/s6/sv/net-lo/type b/s6/sv/net-lo/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/net-lo/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/net-lo/up b/s6/sv/net-lo/up deleted file mode 100644 index a1b6f9e..0000000 --- a/s6/sv/net-lo/up +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ ReadWrite Mode ] 3/6 : Setting up network loopback device" } -ip link set up dev lo diff --git a/s6/sv/networking/dependencies.d/machine b/s6/sv/networking/dependencies.d/machine deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/networking/dependencies.d/machine +++ /dev/null diff --git a/s6/sv/networking/dependencies.d/vkfs b/s6/sv/networking/dependencies.d/vkfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/networking/dependencies.d/vkfs +++ /dev/null diff --git a/s6/sv/networking/down b/s6/sv/networking/down deleted file mode 100644 index f749735..0000000 --- a/s6/sv/networking/down +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/execlineb -P -fdmove -c 2 1 -if { s6-echo -- [ Shutdown ] : Shutting down WiFi & Ethernet... } -export IN_BOOT 1 -foreground { echo "[ Shutdown ] : Stopping networking interfaces..." } -elglob -0 FILES /etc/sysconfig/ifconfig.* -forx INTERFACE { ${FILES} } - importas -u INTERFACE INTERFACE - backtick IFACE { pipeline { echo ${INTERFACE} } cut -d . -f 2 } - importas -nu IFACE IFACE - /sbin/ifdown ${IFACE} - -s6-echo -- [ Shutdown ] : Networking Disabled. diff --git a/s6/sv/networking/type b/s6/sv/networking/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/networking/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/networking/up b/s6/sv/networking/up deleted file mode 100644 index b7213b6..0000000 --- a/s6/sv/networking/up +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/execlineb -P -fdmove -c 2 1 -if { s6-echo -- "[ Networking ] : Bringing up any network interfaces..." } -export IN_BOOT 1 -elglob -0 FILES /etc/sysconfig/ifconfig.* -forx INTERFACE { ${FILES} } - importas -u INTERFACE INTERFACE - backtick IFACE { pipeline { echo ${INTERFACE} } cut -d . -f 2 } - importas -nu IFACE IFACE - /sbin/ifup ${IFACE} - -if { s6-echo -- "[ Networking ] : Setup done" } diff --git a/s6/sv/prep-dev/dependencies.d/mount-procfs b/s6/sv/prep-dev/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/prep-dev/dependencies.d/mount-procfs +++ /dev/null diff --git a/s6/sv/prep-dev/type b/s6/sv/prep-dev/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/prep-dev/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/prep-dev/up b/s6/sv/prep-dev/up deleted file mode 100644 index abb0bd4..0000000 --- a/s6/sv/prep-dev/up +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Virtual-FS ] 0/6 : Creating mount points" } -s6-mkdir /dev/shm -s6-mkdir /dev/pts diff --git a/s6/sv/random-seed/dependencies.d/mount-devfs b/s6/sv/random-seed/dependencies.d/mount-devfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/random-seed/dependencies.d/mount-devfs +++ /dev/null diff --git a/s6/sv/random-seed/dependencies.d/mount-procfs b/s6/sv/random-seed/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/random-seed/dependencies.d/mount-procfs +++ /dev/null diff --git a/s6/sv/random-seed/dependencies.d/mount-sysfs b/s6/sv/random-seed/dependencies.d/mount-sysfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/random-seed/dependencies.d/mount-sysfs +++ /dev/null diff --git a/s6/sv/random-seed/dependencies.d/remount-root b/s6/sv/random-seed/dependencies.d/remount-root deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/random-seed/dependencies.d/remount-root +++ /dev/null diff --git a/s6/sv/random-seed/dependencies.d/udevadm b/s6/sv/random-seed/dependencies.d/udevadm deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/random-seed/dependencies.d/udevadm +++ /dev/null diff --git a/s6/sv/random-seed/type b/s6/sv/random-seed/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/random-seed/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/random-seed/up b/s6/sv/random-seed/up deleted file mode 100644 index 9591e6c..0000000 --- a/s6/sv/random-seed/up +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ ReadWrite Mode ] 4/6 : Restoring random seed" } -#foreground { umask 077; cp /var/lib/random-seed /dev/urandom } -foreground { cp /var/lib/random-seed /dev/urandom } -backtick -n bytes { cat /proc/sys/kernel/random/poolsize } -importas -iu bytes bytes -foreground { if { s6-test -z $bytes } define bytes 512 } -foreground { redirfd -w 2 /dev/null dd if=/dev/urandom of=/var/lib/random-seed count=1 bs=$bytes } diff --git a/s6/sv/remount-root/dependencies.d/checkfs b/s6/sv/remount-root/dependencies.d/checkfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/remount-root/dependencies.d/checkfs +++ /dev/null diff --git a/s6/sv/remount-root/type b/s6/sv/remount-root/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/remount-root/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/remount-root/up b/s6/sv/remount-root/up deleted file mode 100644 index da6bf4c..0000000 --- a/s6/sv/remount-root/up +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ ReadWrite Mode ] 1/6 : Remounting root filesystem as rw" } -s6-mount -o remount,rw / / diff --git a/s6/sv/rofs/contents.d/cgroups b/s6/sv/rofs/contents.d/cgroups deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rofs/contents.d/cgroups +++ /dev/null diff --git a/s6/sv/rofs/contents.d/checkfs b/s6/sv/rofs/contents.d/checkfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rofs/contents.d/checkfs +++ /dev/null diff --git a/s6/sv/rofs/contents.d/console b/s6/sv/rofs/contents.d/console deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rofs/contents.d/console +++ /dev/null diff --git a/s6/sv/rofs/contents.d/hostname b/s6/sv/rofs/contents.d/hostname deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rofs/contents.d/hostname +++ /dev/null diff --git a/s6/sv/rofs/contents.d/hwclock b/s6/sv/rofs/contents.d/hwclock deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rofs/contents.d/hwclock +++ /dev/null diff --git a/s6/sv/rofs/contents.d/kermod b/s6/sv/rofs/contents.d/kermod deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rofs/contents.d/kermod +++ /dev/null diff --git a/s6/sv/rofs/contents.d/modules b/s6/sv/rofs/contents.d/modules deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rofs/contents.d/modules +++ /dev/null diff --git a/s6/sv/rofs/contents.d/swap b/s6/sv/rofs/contents.d/swap deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rofs/contents.d/swap +++ /dev/null diff --git a/s6/sv/rofs/contents.d/sysctl b/s6/sv/rofs/contents.d/sysctl deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rofs/contents.d/sysctl +++ /dev/null diff --git a/s6/sv/rofs/contents.d/udev b/s6/sv/rofs/contents.d/udev deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rofs/contents.d/udev +++ /dev/null diff --git a/s6/sv/rofs/dependencies.d/vkfs b/s6/sv/rofs/dependencies.d/vkfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rofs/dependencies.d/vkfs +++ /dev/null diff --git a/s6/sv/rofs/type b/s6/sv/rofs/type deleted file mode 100644 index 757b422..0000000 --- a/s6/sv/rofs/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/s6/sv/rwfs-end/dependencies.d/dmesg b/s6/sv/rwfs-end/dependencies.d/dmesg deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs-end/dependencies.d/dmesg +++ /dev/null diff --git a/s6/sv/rwfs-end/dependencies.d/net-lo b/s6/sv/rwfs-end/dependencies.d/net-lo deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs-end/dependencies.d/net-lo +++ /dev/null diff --git a/s6/sv/rwfs-end/dependencies.d/random-seed b/s6/sv/rwfs-end/dependencies.d/random-seed deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs-end/dependencies.d/random-seed +++ /dev/null diff --git a/s6/sv/rwfs-end/dependencies.d/remount-root b/s6/sv/rwfs-end/dependencies.d/remount-root deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs-end/dependencies.d/remount-root +++ /dev/null diff --git a/s6/sv/rwfs-end/dependencies.d/tmpfiles-dev b/s6/sv/rwfs-end/dependencies.d/tmpfiles-dev deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs-end/dependencies.d/tmpfiles-dev +++ /dev/null diff --git a/s6/sv/rwfs-end/dependencies.d/tmpfiles-setup b/s6/sv/rwfs-end/dependencies.d/tmpfiles-setup deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs-end/dependencies.d/tmpfiles-setup +++ /dev/null diff --git a/s6/sv/rwfs-end/type b/s6/sv/rwfs-end/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/rwfs-end/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/rwfs-end/up b/s6/sv/rwfs-end/up deleted file mode 100644 index 6946d37..0000000 --- a/s6/sv/rwfs-end/up +++ /dev/null @@ -1 +0,0 @@ -s6-true diff --git a/s6/sv/rwfs/contents.d/cleantmp b/s6/sv/rwfs/contents.d/cleantmp deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs/contents.d/cleantmp +++ /dev/null diff --git a/s6/sv/rwfs/contents.d/dmesg b/s6/sv/rwfs/contents.d/dmesg deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs/contents.d/dmesg +++ /dev/null diff --git a/s6/sv/rwfs/contents.d/net-lo b/s6/sv/rwfs/contents.d/net-lo deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs/contents.d/net-lo +++ /dev/null diff --git a/s6/sv/rwfs/contents.d/random-seed b/s6/sv/rwfs/contents.d/random-seed deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs/contents.d/random-seed +++ /dev/null diff --git a/s6/sv/rwfs/contents.d/remount-root b/s6/sv/rwfs/contents.d/remount-root deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs/contents.d/remount-root +++ /dev/null diff --git a/s6/sv/rwfs/contents.d/rwfs-end b/s6/sv/rwfs/contents.d/rwfs-end deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs/contents.d/rwfs-end +++ /dev/null diff --git a/s6/sv/rwfs/contents.d/tmpfiles-dev b/s6/sv/rwfs/contents.d/tmpfiles-dev deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs/contents.d/tmpfiles-dev +++ /dev/null diff --git a/s6/sv/rwfs/contents.d/tmpfiles-setup b/s6/sv/rwfs/contents.d/tmpfiles-setup deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs/contents.d/tmpfiles-setup +++ /dev/null diff --git a/s6/sv/rwfs/dependencies.d/rofs b/s6/sv/rwfs/dependencies.d/rofs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs/dependencies.d/rofs +++ /dev/null diff --git a/s6/sv/rwfs/dependencies.d/vkfs b/s6/sv/rwfs/dependencies.d/vkfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/rwfs/dependencies.d/vkfs +++ /dev/null diff --git a/s6/sv/rwfs/type b/s6/sv/rwfs/type deleted file mode 100644 index 757b422..0000000 --- a/s6/sv/rwfs/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/s6/sv/services/contents.d/getty b/s6/sv/services/contents.d/getty deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/services/contents.d/getty +++ /dev/null diff --git a/s6/sv/services/contents.d/networking b/s6/sv/services/contents.d/networking deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/services/contents.d/networking +++ /dev/null diff --git a/s6/sv/services/type b/s6/sv/services/type deleted file mode 100644 index 757b422..0000000 --- a/s6/sv/services/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/s6/sv/swap/dependencies.d/mount-sysfs b/s6/sv/swap/dependencies.d/mount-sysfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/swap/dependencies.d/mount-sysfs +++ /dev/null diff --git a/s6/sv/swap/dependencies.d/udev b/s6/sv/swap/dependencies.d/udev deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/swap/dependencies.d/udev +++ /dev/null diff --git a/s6/sv/swap/down b/s6/sv/swap/down deleted file mode 100644 index 09fda29..0000000 --- a/s6/sv/swap/down +++ /dev/null @@ -1 +0,0 @@ -swapoff -a diff --git a/s6/sv/swap/type b/s6/sv/swap/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/swap/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/swap/up b/s6/sv/swap/up deleted file mode 100644 index 29bf079..0000000 --- a/s6/sv/swap/up +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Read-Only Mode ] 7/9 : Turning on any swap/swap-files" } -swapon -a diff --git a/s6/sv/sysctl/dependencies.d/mount-procfs b/s6/sv/sysctl/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/sysctl/dependencies.d/mount-procfs +++ /dev/null diff --git a/s6/sv/sysctl/dependencies.d/mount-sysfs b/s6/sv/sysctl/dependencies.d/mount-sysfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/sysctl/dependencies.d/mount-sysfs +++ /dev/null diff --git a/s6/sv/sysctl/dependencies.d/udev b/s6/sv/sysctl/dependencies.d/udev deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/sysctl/dependencies.d/udev +++ /dev/null diff --git a/s6/sv/sysctl/type b/s6/sv/sysctl/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/sysctl/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/sysctl/up b/s6/sv/sysctl/up deleted file mode 100644 index 670f8e3..0000000 --- a/s6/sv/sysctl/up +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ Read-Only Mode ] 0/9 : Setting kernel parameters" } -redirfd -w 1 /dev/null sysctl --system diff --git a/s6/sv/tmpfiles-dev/dependencies.d/cleantmp b/s6/sv/tmpfiles-dev/dependencies.d/cleantmp deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/tmpfiles-dev/dependencies.d/cleantmp +++ /dev/null diff --git a/s6/sv/tmpfiles-dev/dependencies.d/remount-root b/s6/sv/tmpfiles-dev/dependencies.d/remount-root deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/tmpfiles-dev/dependencies.d/remount-root +++ /dev/null diff --git a/s6/sv/tmpfiles-dev/dependencies.d/vkfs b/s6/sv/tmpfiles-dev/dependencies.d/vkfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/tmpfiles-dev/dependencies.d/vkfs +++ /dev/null diff --git a/s6/sv/tmpfiles-dev/type b/s6/sv/tmpfiles-dev/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/tmpfiles-dev/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/tmpfiles-dev/up b/s6/sv/tmpfiles-dev/up deleted file mode 100644 index 84cea2a..0000000 --- a/s6/sv/tmpfiles-dev/up +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ ReadWrite Mode ] 6/6 : Setting up tmpfiles" } -tmpfiles --prefix=/dev --create --boot diff --git a/s6/sv/tmpfiles-setup/dependencies.d/cleantmp b/s6/sv/tmpfiles-setup/dependencies.d/cleantmp deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/tmpfiles-setup/dependencies.d/cleantmp +++ /dev/null diff --git a/s6/sv/tmpfiles-setup/dependencies.d/remount-root b/s6/sv/tmpfiles-setup/dependencies.d/remount-root deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/tmpfiles-setup/dependencies.d/remount-root +++ /dev/null diff --git a/s6/sv/tmpfiles-setup/dependencies.d/rofs b/s6/sv/tmpfiles-setup/dependencies.d/rofs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/tmpfiles-setup/dependencies.d/rofs +++ /dev/null diff --git a/s6/sv/tmpfiles-setup/type b/s6/sv/tmpfiles-setup/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/tmpfiles-setup/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/tmpfiles-setup/up b/s6/sv/tmpfiles-setup/up deleted file mode 100644 index e694ec8..0000000 --- a/s6/sv/tmpfiles-setup/up +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -if { s6-echo "[ ReadWrite Mode ] 5/6 : Cleaning tempfiles" } -tmpfiles --exclude-prefix=/dev --create --remove --boot diff --git a/s6/sv/udev/contents.d/udevadm b/s6/sv/udev/contents.d/udevadm deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/udev/contents.d/udevadm +++ /dev/null diff --git a/s6/sv/udev/contents.d/udevd b/s6/sv/udev/contents.d/udevd deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/udev/contents.d/udevd +++ /dev/null diff --git a/s6/sv/udev/dependencies.d/vkfs b/s6/sv/udev/dependencies.d/vkfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/udev/dependencies.d/vkfs +++ /dev/null diff --git a/s6/sv/udev/type b/s6/sv/udev/type deleted file mode 100644 index 757b422..0000000 --- a/s6/sv/udev/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/s6/sv/udevadm/dependencies.d/mount-devfs b/s6/sv/udevadm/dependencies.d/mount-devfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/udevadm/dependencies.d/mount-devfs +++ /dev/null diff --git a/s6/sv/udevadm/dependencies.d/mount-procfs b/s6/sv/udevadm/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/udevadm/dependencies.d/mount-procfs +++ /dev/null diff --git a/s6/sv/udevadm/dependencies.d/mount-sysfs b/s6/sv/udevadm/dependencies.d/mount-sysfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/udevadm/dependencies.d/mount-sysfs +++ /dev/null diff --git a/s6/sv/udevadm/dependencies.d/udevd b/s6/sv/udevadm/dependencies.d/udevd deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/udevadm/dependencies.d/udevd +++ /dev/null diff --git a/s6/sv/udevadm/type b/s6/sv/udevadm/type deleted file mode 100644 index bdd22a1..0000000 --- a/s6/sv/udevadm/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/s6/sv/udevadm/up b/s6/sv/udevadm/up deleted file mode 100644 index 8e77db2..0000000 --- a/s6/sv/udevadm/up +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/execlineb -P -# Initiate udev devices & subsystems -fdmove -c 2 1 -if { s6-echo "[ Read-Only Mode ] 9/9 : Setting up devices & subsystems" } -if { - foreground { udevadm trigger --action=add --type=subsystems } - foreground { udevadm trigger --action=add --type=devices } - udevadm settle -} diff --git a/s6/sv/udevd/dependencies.d/mount-devfs b/s6/sv/udevd/dependencies.d/mount-devfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/udevd/dependencies.d/mount-devfs +++ /dev/null diff --git a/s6/sv/udevd/dependencies.d/mount-procfs b/s6/sv/udevd/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/udevd/dependencies.d/mount-procfs +++ /dev/null diff --git a/s6/sv/udevd/dependencies.d/mount-sysfs b/s6/sv/udevd/dependencies.d/mount-sysfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/udevd/dependencies.d/mount-sysfs +++ /dev/null diff --git a/s6/sv/udevd/run b/s6/sv/udevd/run deleted file mode 100644 index 552ab1d..0000000 --- a/s6/sv/udevd/run +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/execlineb -P -# Initiate udev -fdmove -c 2 1 -if { s6-echo "[ Read-Only Mode ] 8/9 : Intializing udev daemon" } -exec -c -udevd diff --git a/s6/sv/udevd/type b/s6/sv/udevd/type deleted file mode 100644 index 5883cff..0000000 --- a/s6/sv/udevd/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/s6/sv/vkfs/contents.d/mount-devfs b/s6/sv/vkfs/contents.d/mount-devfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/vkfs/contents.d/mount-devfs +++ /dev/null diff --git a/s6/sv/vkfs/contents.d/mount-efivars b/s6/sv/vkfs/contents.d/mount-efivars deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/vkfs/contents.d/mount-efivars +++ /dev/null diff --git a/s6/sv/vkfs/contents.d/mount-ksecurity b/s6/sv/vkfs/contents.d/mount-ksecurity deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/vkfs/contents.d/mount-ksecurity +++ /dev/null diff --git a/s6/sv/vkfs/contents.d/mount-procfs b/s6/sv/vkfs/contents.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/vkfs/contents.d/mount-procfs +++ /dev/null diff --git a/s6/sv/vkfs/contents.d/mount-sysfs b/s6/sv/vkfs/contents.d/mount-sysfs deleted file mode 100644 index e69de29..0000000 --- a/s6/sv/vkfs/contents.d/mount-sysfs +++ /dev/null diff --git a/s6/sv/vkfs/type b/s6/sv/vkfs/type deleted file mode 100644 index 757b422..0000000 --- a/s6/sv/vkfs/type +++ /dev/null @@ -1 +0,0 @@ -bundle |