summaryrefslogtreecommitdiff
path: root/xi/s6/sv
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-01 23:14:41 +0000
committerdavidovski <david@davidovski.xyz>2022-03-01 23:14:41 +0000
commitea4267fac55c7d8a6093a6b03ff0e9c795786d3e (patch)
tree04905981b9d5ad7a4710c472faf920f3c5e28375 /xi/s6/sv
parentefee4ebf43e376a7cd8b8abcef0c70aa90427bb4 (diff)
reorganised
Diffstat (limited to 'xi/s6/sv')
-rw-r--r--xi/s6/sv/agetty2/dependencies.d/hostname0
-rw-r--r--xi/s6/sv/agetty2/run3
-rw-r--r--xi/s6/sv/agetty2/type1
-rw-r--r--xi/s6/sv/agetty3/dependencies.d/hostname0
-rw-r--r--xi/s6/sv/agetty3/run3
-rw-r--r--xi/s6/sv/agetty3/type1
-rw-r--r--xi/s6/sv/agetty4/dependencies.d/hostname0
-rw-r--r--xi/s6/sv/agetty4/run3
-rw-r--r--xi/s6/sv/agetty4/type1
-rw-r--r--xi/s6/sv/agetty5/dependencies.d/hostname0
-rw-r--r--xi/s6/sv/agetty5/run3
-rw-r--r--xi/s6/sv/agetty5/type1
-rw-r--r--xi/s6/sv/agetty6/dependencies.d/hostname0
-rw-r--r--xi/s6/sv/agetty6/run3
-rw-r--r--xi/s6/sv/agetty6/type1
-rw-r--r--xi/s6/sv/cgroups/dependencies.d/mount-procfs0
-rw-r--r--xi/s6/sv/cgroups/dependencies.d/mount-sysfs0
-rw-r--r--xi/s6/sv/cgroups/dependencies.d/vkfs0
-rw-r--r--xi/s6/sv/cgroups/type1
-rw-r--r--xi/s6/sv/cgroups/up7
-rw-r--r--xi/s6/sv/checkfs/dependencies.d/udev0
-rw-r--r--xi/s6/sv/checkfs/type1
-rw-r--r--xi/s6/sv/checkfs/up12
-rw-r--r--xi/s6/sv/cleantmp/dependencies.d/remount-root0
-rw-r--r--xi/s6/sv/cleantmp/down3
-rw-r--r--xi/s6/sv/cleantmp/type1
-rw-r--r--xi/s6/sv/cleantmp/up3
-rw-r--r--xi/s6/sv/console/dependencies.d/udev0
-rw-r--r--xi/s6/sv/console/type1
-rw-r--r--xi/s6/sv/console/up3
-rw-r--r--xi/s6/sv/default/contents.d/machine0
-rw-r--r--xi/s6/sv/default/contents.d/services0
-rw-r--r--xi/s6/sv/default/contents.d/vkfs0
-rw-r--r--xi/s6/sv/default/type1
-rw-r--r--xi/s6/sv/dmesg/dependencies.d/remount-root0
-rw-r--r--xi/s6/sv/dmesg/dependencies.d/vkfs0
-rw-r--r--xi/s6/sv/dmesg/type1
-rw-r--r--xi/s6/sv/dmesg/up3
-rw-r--r--xi/s6/sv/getty/contents.d/agetty20
-rw-r--r--xi/s6/sv/getty/contents.d/agetty30
-rw-r--r--xi/s6/sv/getty/contents.d/agetty40
-rw-r--r--xi/s6/sv/getty/contents.d/agetty50
-rw-r--r--xi/s6/sv/getty/contents.d/agetty60
-rw-r--r--xi/s6/sv/getty/type1
-rw-r--r--xi/s6/sv/hostname/dependencies.d/mount-procfs0
-rw-r--r--xi/s6/sv/hostname/type1
-rw-r--r--xi/s6/sv/hostname/up5
-rw-r--r--xi/s6/sv/hwclock/dependencies.d/udev0
-rw-r--r--xi/s6/sv/hwclock/down6
-rw-r--r--xi/s6/sv/hwclock/type1
-rw-r--r--xi/s6/sv/hwclock/up6
-rw-r--r--xi/s6/sv/kermod/dependencies.d/mount-procfs0
-rw-r--r--xi/s6/sv/kermod/dependencies.d/mount-sysfs0
-rw-r--r--xi/s6/sv/kermod/type1
-rw-r--r--xi/s6/sv/kermod/up4
-rw-r--r--xi/s6/sv/machine/contents.d/rofs0
-rw-r--r--xi/s6/sv/machine/contents.d/rwfs0
-rw-r--r--xi/s6/sv/machine/dependencies.d/vkfs0
-rw-r--r--xi/s6/sv/machine/type1
-rw-r--r--xi/s6/sv/mnt-devpts/dependencies.d/mount-procfs0
-rw-r--r--xi/s6/sv/mnt-devpts/dependencies.d/prep-dev0
-rw-r--r--xi/s6/sv/mnt-devpts/type1
-rw-r--r--xi/s6/sv/mnt-devpts/up3
-rw-r--r--xi/s6/sv/mnt-shm/dependencies.d/mount-procfs0
-rw-r--r--xi/s6/sv/mnt-shm/dependencies.d/prep-dev0
-rw-r--r--xi/s6/sv/mnt-shm/type1
-rw-r--r--xi/s6/sv/mnt-shm/up3
-rw-r--r--xi/s6/sv/modules/dependencies.d/mount-procfs0
-rw-r--r--xi/s6/sv/modules/dependencies.d/udev0
-rw-r--r--xi/s6/sv/modules/type1
-rw-r--r--xi/s6/sv/modules/up3
-rw-r--r--xi/s6/sv/mount-devfs/contents.d/mnt-devpts0
-rw-r--r--xi/s6/sv/mount-devfs/contents.d/mnt-shm0
-rw-r--r--xi/s6/sv/mount-devfs/contents.d/prep-dev0
-rw-r--r--xi/s6/sv/mount-devfs/dependencies.d/mount-procfs0
-rw-r--r--xi/s6/sv/mount-devfs/type1
-rw-r--r--xi/s6/sv/mount-efivars/dependencies.d/mount-sysfs0
-rw-r--r--xi/s6/sv/mount-efivars/type1
-rw-r--r--xi/s6/sv/mount-efivars/up7
-rw-r--r--xi/s6/sv/mount-ksecurity/dependencies.d/mount-sysfs0
-rw-r--r--xi/s6/sv/mount-ksecurity/type1
-rw-r--r--xi/s6/sv/mount-ksecurity/up8
-rw-r--r--xi/s6/sv/mount-procfs/type1
-rw-r--r--xi/s6/sv/mount-procfs/up4
-rw-r--r--xi/s6/sv/mount-sysfs/dependencies.d/mount-procfs0
-rw-r--r--xi/s6/sv/mount-sysfs/type1
-rw-r--r--xi/s6/sv/mount-sysfs/up3
-rw-r--r--xi/s6/sv/net-lo/dependencies.d/remount-root0
-rw-r--r--xi/s6/sv/net-lo/dependencies.d/vkfs0
-rw-r--r--xi/s6/sv/net-lo/type1
-rw-r--r--xi/s6/sv/net-lo/up3
-rw-r--r--xi/s6/sv/networking/dependencies.d/machine0
-rw-r--r--xi/s6/sv/networking/dependencies.d/vkfs0
-rw-r--r--xi/s6/sv/networking/down13
-rw-r--r--xi/s6/sv/networking/type1
-rw-r--r--xi/s6/sv/networking/up12
-rw-r--r--xi/s6/sv/prep-dev/dependencies.d/mount-procfs0
-rw-r--r--xi/s6/sv/prep-dev/type1
-rw-r--r--xi/s6/sv/prep-dev/up4
-rw-r--r--xi/s6/sv/random-seed/dependencies.d/mount-devfs0
-rw-r--r--xi/s6/sv/random-seed/dependencies.d/mount-procfs0
-rw-r--r--xi/s6/sv/random-seed/dependencies.d/mount-sysfs0
-rw-r--r--xi/s6/sv/random-seed/dependencies.d/remount-root0
-rw-r--r--xi/s6/sv/random-seed/dependencies.d/udevadm0
-rw-r--r--xi/s6/sv/random-seed/type1
-rw-r--r--xi/s6/sv/random-seed/up8
-rw-r--r--xi/s6/sv/remount-root/dependencies.d/checkfs0
-rw-r--r--xi/s6/sv/remount-root/type1
-rw-r--r--xi/s6/sv/remount-root/up3
-rw-r--r--xi/s6/sv/rofs/contents.d/cgroups0
-rw-r--r--xi/s6/sv/rofs/contents.d/checkfs0
-rw-r--r--xi/s6/sv/rofs/contents.d/console0
-rw-r--r--xi/s6/sv/rofs/contents.d/hostname0
-rw-r--r--xi/s6/sv/rofs/contents.d/hwclock0
-rw-r--r--xi/s6/sv/rofs/contents.d/kermod0
-rw-r--r--xi/s6/sv/rofs/contents.d/modules0
-rw-r--r--xi/s6/sv/rofs/contents.d/swap0
-rw-r--r--xi/s6/sv/rofs/contents.d/sysctl0
-rw-r--r--xi/s6/sv/rofs/contents.d/udev0
-rw-r--r--xi/s6/sv/rofs/dependencies.d/vkfs0
-rw-r--r--xi/s6/sv/rofs/type1
-rw-r--r--xi/s6/sv/rwfs-end/dependencies.d/dmesg0
-rw-r--r--xi/s6/sv/rwfs-end/dependencies.d/net-lo0
-rw-r--r--xi/s6/sv/rwfs-end/dependencies.d/random-seed0
-rw-r--r--xi/s6/sv/rwfs-end/dependencies.d/remount-root0
-rw-r--r--xi/s6/sv/rwfs-end/dependencies.d/tmpfiles-dev0
-rw-r--r--xi/s6/sv/rwfs-end/dependencies.d/tmpfiles-setup0
-rw-r--r--xi/s6/sv/rwfs-end/type1
-rw-r--r--xi/s6/sv/rwfs-end/up1
-rw-r--r--xi/s6/sv/rwfs/contents.d/cleantmp0
-rw-r--r--xi/s6/sv/rwfs/contents.d/dmesg0
-rw-r--r--xi/s6/sv/rwfs/contents.d/net-lo0
-rw-r--r--xi/s6/sv/rwfs/contents.d/random-seed0
-rw-r--r--xi/s6/sv/rwfs/contents.d/remount-root0
-rw-r--r--xi/s6/sv/rwfs/contents.d/rwfs-end0
-rw-r--r--xi/s6/sv/rwfs/contents.d/tmpfiles-dev0
-rw-r--r--xi/s6/sv/rwfs/contents.d/tmpfiles-setup0
-rw-r--r--xi/s6/sv/rwfs/dependencies.d/rofs0
-rw-r--r--xi/s6/sv/rwfs/dependencies.d/vkfs0
-rw-r--r--xi/s6/sv/rwfs/type1
-rw-r--r--xi/s6/sv/services/contents.d/getty0
-rw-r--r--xi/s6/sv/services/contents.d/networking0
-rw-r--r--xi/s6/sv/services/type1
-rw-r--r--xi/s6/sv/swap/dependencies.d/mount-sysfs0
-rw-r--r--xi/s6/sv/swap/dependencies.d/udev0
-rw-r--r--xi/s6/sv/swap/down1
-rw-r--r--xi/s6/sv/swap/type1
-rw-r--r--xi/s6/sv/swap/up3
-rw-r--r--xi/s6/sv/sysctl/dependencies.d/mount-procfs0
-rw-r--r--xi/s6/sv/sysctl/dependencies.d/mount-sysfs0
-rw-r--r--xi/s6/sv/sysctl/dependencies.d/udev0
-rw-r--r--xi/s6/sv/sysctl/type1
-rw-r--r--xi/s6/sv/sysctl/up3
-rw-r--r--xi/s6/sv/tmpfiles-dev/dependencies.d/cleantmp0
-rw-r--r--xi/s6/sv/tmpfiles-dev/dependencies.d/remount-root0
-rw-r--r--xi/s6/sv/tmpfiles-dev/dependencies.d/vkfs0
-rw-r--r--xi/s6/sv/tmpfiles-dev/type1
-rw-r--r--xi/s6/sv/tmpfiles-dev/up3
-rw-r--r--xi/s6/sv/tmpfiles-setup/dependencies.d/cleantmp0
-rw-r--r--xi/s6/sv/tmpfiles-setup/dependencies.d/remount-root0
-rw-r--r--xi/s6/sv/tmpfiles-setup/dependencies.d/rofs0
-rw-r--r--xi/s6/sv/tmpfiles-setup/type1
-rw-r--r--xi/s6/sv/tmpfiles-setup/up3
-rw-r--r--xi/s6/sv/udev/contents.d/udevadm0
-rw-r--r--xi/s6/sv/udev/contents.d/udevd0
-rw-r--r--xi/s6/sv/udev/dependencies.d/vkfs0
-rw-r--r--xi/s6/sv/udev/type1
-rw-r--r--xi/s6/sv/udevadm/dependencies.d/mount-devfs0
-rw-r--r--xi/s6/sv/udevadm/dependencies.d/mount-procfs0
-rw-r--r--xi/s6/sv/udevadm/dependencies.d/mount-sysfs0
-rw-r--r--xi/s6/sv/udevadm/dependencies.d/udevd0
-rw-r--r--xi/s6/sv/udevadm/type1
-rw-r--r--xi/s6/sv/udevadm/up9
-rw-r--r--xi/s6/sv/udevd/dependencies.d/mount-devfs0
-rw-r--r--xi/s6/sv/udevd/dependencies.d/mount-procfs0
-rw-r--r--xi/s6/sv/udevd/dependencies.d/mount-sysfs0
-rw-r--r--xi/s6/sv/udevd/run6
-rw-r--r--xi/s6/sv/udevd/type1
-rw-r--r--xi/s6/sv/vkfs/contents.d/mount-devfs0
-rw-r--r--xi/s6/sv/vkfs/contents.d/mount-efivars0
-rw-r--r--xi/s6/sv/vkfs/contents.d/mount-ksecurity0
-rw-r--r--xi/s6/sv/vkfs/contents.d/mount-procfs0
-rw-r--r--xi/s6/sv/vkfs/contents.d/mount-sysfs0
-rw-r--r--xi/s6/sv/vkfs/type1
184 files changed, 211 insertions, 0 deletions
diff --git a/xi/s6/sv/agetty2/dependencies.d/hostname b/xi/s6/sv/agetty2/dependencies.d/hostname
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/agetty2/dependencies.d/hostname
diff --git a/xi/s6/sv/agetty2/run b/xi/s6/sv/agetty2/run
new file mode 100644
index 0000000..1bb017f
--- /dev/null
+++ b/xi/s6/sv/agetty2/run
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ Services ] : Enabling tty2" }
+exec /sbin/agetty -L -8 tty2 115200
diff --git a/xi/s6/sv/agetty2/type b/xi/s6/sv/agetty2/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/xi/s6/sv/agetty2/type
@@ -0,0 +1 @@
+longrun
diff --git a/xi/s6/sv/agetty3/dependencies.d/hostname b/xi/s6/sv/agetty3/dependencies.d/hostname
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/agetty3/dependencies.d/hostname
diff --git a/xi/s6/sv/agetty3/run b/xi/s6/sv/agetty3/run
new file mode 100644
index 0000000..5a5cf19
--- /dev/null
+++ b/xi/s6/sv/agetty3/run
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ Services ] : Enabling tty3" }
+exec /sbin/agetty -L -8 tty3 115200
diff --git a/xi/s6/sv/agetty3/type b/xi/s6/sv/agetty3/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/xi/s6/sv/agetty3/type
@@ -0,0 +1 @@
+longrun
diff --git a/xi/s6/sv/agetty4/dependencies.d/hostname b/xi/s6/sv/agetty4/dependencies.d/hostname
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/agetty4/dependencies.d/hostname
diff --git a/xi/s6/sv/agetty4/run b/xi/s6/sv/agetty4/run
new file mode 100644
index 0000000..3f6a88e
--- /dev/null
+++ b/xi/s6/sv/agetty4/run
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ Services ] : Enabling tty4" }
+exec /sbin/agetty -L -8 tty4 115200
diff --git a/xi/s6/sv/agetty4/type b/xi/s6/sv/agetty4/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/xi/s6/sv/agetty4/type
@@ -0,0 +1 @@
+longrun
diff --git a/xi/s6/sv/agetty5/dependencies.d/hostname b/xi/s6/sv/agetty5/dependencies.d/hostname
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/agetty5/dependencies.d/hostname
diff --git a/xi/s6/sv/agetty5/run b/xi/s6/sv/agetty5/run
new file mode 100644
index 0000000..2f2e326
--- /dev/null
+++ b/xi/s6/sv/agetty5/run
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ Services ] : Enabling tty5" }
+exec /sbin/agetty -L -8 tty5 115200
diff --git a/xi/s6/sv/agetty5/type b/xi/s6/sv/agetty5/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/xi/s6/sv/agetty5/type
@@ -0,0 +1 @@
+longrun
diff --git a/xi/s6/sv/agetty6/dependencies.d/hostname b/xi/s6/sv/agetty6/dependencies.d/hostname
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/agetty6/dependencies.d/hostname
diff --git a/xi/s6/sv/agetty6/run b/xi/s6/sv/agetty6/run
new file mode 100644
index 0000000..49f8a3a
--- /dev/null
+++ b/xi/s6/sv/agetty6/run
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ Services ] : Enabling tty6" }
+exec /sbin/agetty -L -8 tty6 115200
diff --git a/xi/s6/sv/agetty6/type b/xi/s6/sv/agetty6/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/xi/s6/sv/agetty6/type
@@ -0,0 +1 @@
+longrun
diff --git a/xi/s6/sv/cgroups/dependencies.d/mount-procfs b/xi/s6/sv/cgroups/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/cgroups/dependencies.d/mount-procfs
diff --git a/xi/s6/sv/cgroups/dependencies.d/mount-sysfs b/xi/s6/sv/cgroups/dependencies.d/mount-sysfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/cgroups/dependencies.d/mount-sysfs
diff --git a/xi/s6/sv/cgroups/dependencies.d/vkfs b/xi/s6/sv/cgroups/dependencies.d/vkfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/cgroups/dependencies.d/vkfs
diff --git a/xi/s6/sv/cgroups/type b/xi/s6/sv/cgroups/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/cgroups/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/cgroups/up b/xi/s6/sv/cgroups/up
new file mode 100644
index 0000000..51e4246
--- /dev/null
+++ b/xi/s6/sv/cgroups/up
@@ -0,0 +1,7 @@
+#!/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/xi/s6/sv/checkfs/dependencies.d/udev b/xi/s6/sv/checkfs/dependencies.d/udev
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/checkfs/dependencies.d/udev
diff --git a/xi/s6/sv/checkfs/type b/xi/s6/sv/checkfs/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/checkfs/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/checkfs/up b/xi/s6/sv/checkfs/up
new file mode 100644
index 0000000..9dd2952
--- /dev/null
+++ b/xi/s6/sv/checkfs/up
@@ -0,0 +1,12 @@
+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/xi/s6/sv/cleantmp/dependencies.d/remount-root b/xi/s6/sv/cleantmp/dependencies.d/remount-root
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/cleantmp/dependencies.d/remount-root
diff --git a/xi/s6/sv/cleantmp/down b/xi/s6/sv/cleantmp/down
new file mode 100644
index 0000000..c5f65cc
--- /dev/null
+++ b/xi/s6/sv/cleantmp/down
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ Shutdown ] : Cleaning /tmp" }
+/bin/sh -c "/etc/s6/scripts/clean_tmp.sh"
diff --git a/xi/s6/sv/cleantmp/type b/xi/s6/sv/cleantmp/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/cleantmp/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/cleantmp/up b/xi/s6/sv/cleantmp/up
new file mode 100644
index 0000000..9c24500
--- /dev/null
+++ b/xi/s6/sv/cleantmp/up
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ ReadWrite Mode ] 0/6 : Cleaning /tmp" }
+/bin/sh -c "/etc/s6/scripts/clean_tmp.sh"
diff --git a/xi/s6/sv/console/dependencies.d/udev b/xi/s6/sv/console/dependencies.d/udev
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/console/dependencies.d/udev
diff --git a/xi/s6/sv/console/type b/xi/s6/sv/console/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/console/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/console/up b/xi/s6/sv/console/up
new file mode 100644
index 0000000..416edb9
--- /dev/null
+++ b/xi/s6/sv/console/up
@@ -0,0 +1,3 @@
+#!/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/xi/s6/sv/default/contents.d/machine b/xi/s6/sv/default/contents.d/machine
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/default/contents.d/machine
diff --git a/xi/s6/sv/default/contents.d/services b/xi/s6/sv/default/contents.d/services
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/default/contents.d/services
diff --git a/xi/s6/sv/default/contents.d/vkfs b/xi/s6/sv/default/contents.d/vkfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/default/contents.d/vkfs
diff --git a/xi/s6/sv/default/type b/xi/s6/sv/default/type
new file mode 100644
index 0000000..757b422
--- /dev/null
+++ b/xi/s6/sv/default/type
@@ -0,0 +1 @@
+bundle
diff --git a/xi/s6/sv/dmesg/dependencies.d/remount-root b/xi/s6/sv/dmesg/dependencies.d/remount-root
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/dmesg/dependencies.d/remount-root
diff --git a/xi/s6/sv/dmesg/dependencies.d/vkfs b/xi/s6/sv/dmesg/dependencies.d/vkfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/dmesg/dependencies.d/vkfs
diff --git a/xi/s6/sv/dmesg/type b/xi/s6/sv/dmesg/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/dmesg/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/dmesg/up b/xi/s6/sv/dmesg/up
new file mode 100644
index 0000000..872a8d7
--- /dev/null
+++ b/xi/s6/sv/dmesg/up
@@ -0,0 +1,3 @@
+#!/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/xi/s6/sv/getty/contents.d/agetty2 b/xi/s6/sv/getty/contents.d/agetty2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/getty/contents.d/agetty2
diff --git a/xi/s6/sv/getty/contents.d/agetty3 b/xi/s6/sv/getty/contents.d/agetty3
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/getty/contents.d/agetty3
diff --git a/xi/s6/sv/getty/contents.d/agetty4 b/xi/s6/sv/getty/contents.d/agetty4
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/getty/contents.d/agetty4
diff --git a/xi/s6/sv/getty/contents.d/agetty5 b/xi/s6/sv/getty/contents.d/agetty5
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/getty/contents.d/agetty5
diff --git a/xi/s6/sv/getty/contents.d/agetty6 b/xi/s6/sv/getty/contents.d/agetty6
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/getty/contents.d/agetty6
diff --git a/xi/s6/sv/getty/type b/xi/s6/sv/getty/type
new file mode 100644
index 0000000..757b422
--- /dev/null
+++ b/xi/s6/sv/getty/type
@@ -0,0 +1 @@
+bundle
diff --git a/xi/s6/sv/hostname/dependencies.d/mount-procfs b/xi/s6/sv/hostname/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/hostname/dependencies.d/mount-procfs
diff --git a/xi/s6/sv/hostname/type b/xi/s6/sv/hostname/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/hostname/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/hostname/up b/xi/s6/sv/hostname/up
new file mode 100644
index 0000000..72f519e
--- /dev/null
+++ b/xi/s6/sv/hostname/up
@@ -0,0 +1,5 @@
+#!/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/xi/s6/sv/hwclock/dependencies.d/udev b/xi/s6/sv/hwclock/dependencies.d/udev
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/hwclock/dependencies.d/udev
diff --git a/xi/s6/sv/hwclock/down b/xi/s6/sv/hwclock/down
new file mode 100644
index 0000000..5349d21
--- /dev/null
+++ b/xi/s6/sv/hwclock/down
@@ -0,0 +1,6 @@
+#!/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/xi/s6/sv/hwclock/type b/xi/s6/sv/hwclock/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/hwclock/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/hwclock/up b/xi/s6/sv/hwclock/up
new file mode 100644
index 0000000..ee88cbf
--- /dev/null
+++ b/xi/s6/sv/hwclock/up
@@ -0,0 +1,6 @@
+#!/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/xi/s6/sv/kermod/dependencies.d/mount-procfs b/xi/s6/sv/kermod/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/kermod/dependencies.d/mount-procfs
diff --git a/xi/s6/sv/kermod/dependencies.d/mount-sysfs b/xi/s6/sv/kermod/dependencies.d/mount-sysfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/kermod/dependencies.d/mount-sysfs
diff --git a/xi/s6/sv/kermod/type b/xi/s6/sv/kermod/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/kermod/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/kermod/up b/xi/s6/sv/kermod/up
new file mode 100644
index 0000000..f8d4d90
--- /dev/null
+++ b/xi/s6/sv/kermod/up
@@ -0,0 +1,4 @@
+#!/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/xi/s6/sv/machine/contents.d/rofs b/xi/s6/sv/machine/contents.d/rofs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/machine/contents.d/rofs
diff --git a/xi/s6/sv/machine/contents.d/rwfs b/xi/s6/sv/machine/contents.d/rwfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/machine/contents.d/rwfs
diff --git a/xi/s6/sv/machine/dependencies.d/vkfs b/xi/s6/sv/machine/dependencies.d/vkfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/machine/dependencies.d/vkfs
diff --git a/xi/s6/sv/machine/type b/xi/s6/sv/machine/type
new file mode 100644
index 0000000..757b422
--- /dev/null
+++ b/xi/s6/sv/machine/type
@@ -0,0 +1 @@
+bundle
diff --git a/xi/s6/sv/mnt-devpts/dependencies.d/mount-procfs b/xi/s6/sv/mnt-devpts/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/mnt-devpts/dependencies.d/mount-procfs
diff --git a/xi/s6/sv/mnt-devpts/dependencies.d/prep-dev b/xi/s6/sv/mnt-devpts/dependencies.d/prep-dev
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/mnt-devpts/dependencies.d/prep-dev
diff --git a/xi/s6/sv/mnt-devpts/type b/xi/s6/sv/mnt-devpts/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/mnt-devpts/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/mnt-devpts/up b/xi/s6/sv/mnt-devpts/up
new file mode 100644
index 0000000..32609fa
--- /dev/null
+++ b/xi/s6/sv/mnt-devpts/up
@@ -0,0 +1,3 @@
+#!/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/xi/s6/sv/mnt-shm/dependencies.d/mount-procfs b/xi/s6/sv/mnt-shm/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/mnt-shm/dependencies.d/mount-procfs
diff --git a/xi/s6/sv/mnt-shm/dependencies.d/prep-dev b/xi/s6/sv/mnt-shm/dependencies.d/prep-dev
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/mnt-shm/dependencies.d/prep-dev
diff --git a/xi/s6/sv/mnt-shm/type b/xi/s6/sv/mnt-shm/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/mnt-shm/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/mnt-shm/up b/xi/s6/sv/mnt-shm/up
new file mode 100644
index 0000000..a461bfc
--- /dev/null
+++ b/xi/s6/sv/mnt-shm/up
@@ -0,0 +1,3 @@
+#!/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/xi/s6/sv/modules/dependencies.d/mount-procfs b/xi/s6/sv/modules/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/modules/dependencies.d/mount-procfs
diff --git a/xi/s6/sv/modules/dependencies.d/udev b/xi/s6/sv/modules/dependencies.d/udev
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/modules/dependencies.d/udev
diff --git a/xi/s6/sv/modules/type b/xi/s6/sv/modules/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/modules/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/modules/up b/xi/s6/sv/modules/up
new file mode 100644
index 0000000..a475dc9
--- /dev/null
+++ b/xi/s6/sv/modules/up
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ Read-Only Mode ] 6/9 : Loading any kernel modules" }
+sh -c "modules-load"
diff --git a/xi/s6/sv/mount-devfs/contents.d/mnt-devpts b/xi/s6/sv/mount-devfs/contents.d/mnt-devpts
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/mount-devfs/contents.d/mnt-devpts
diff --git a/xi/s6/sv/mount-devfs/contents.d/mnt-shm b/xi/s6/sv/mount-devfs/contents.d/mnt-shm
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/mount-devfs/contents.d/mnt-shm
diff --git a/xi/s6/sv/mount-devfs/contents.d/prep-dev b/xi/s6/sv/mount-devfs/contents.d/prep-dev
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/mount-devfs/contents.d/prep-dev
diff --git a/xi/s6/sv/mount-devfs/dependencies.d/mount-procfs b/xi/s6/sv/mount-devfs/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/mount-devfs/dependencies.d/mount-procfs
diff --git a/xi/s6/sv/mount-devfs/type b/xi/s6/sv/mount-devfs/type
new file mode 100644
index 0000000..757b422
--- /dev/null
+++ b/xi/s6/sv/mount-devfs/type
@@ -0,0 +1 @@
+bundle
diff --git a/xi/s6/sv/mount-efivars/dependencies.d/mount-sysfs b/xi/s6/sv/mount-efivars/dependencies.d/mount-sysfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/mount-efivars/dependencies.d/mount-sysfs
diff --git a/xi/s6/sv/mount-efivars/type b/xi/s6/sv/mount-efivars/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/mount-efivars/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/mount-efivars/up b/xi/s6/sv/mount-efivars/up
new file mode 100644
index 0000000..3c2fe6e
--- /dev/null
+++ b/xi/s6/sv/mount-efivars/up
@@ -0,0 +1,7 @@
+#!/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/xi/s6/sv/mount-ksecurity/dependencies.d/mount-sysfs b/xi/s6/sv/mount-ksecurity/dependencies.d/mount-sysfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/mount-ksecurity/dependencies.d/mount-sysfs
diff --git a/xi/s6/sv/mount-ksecurity/type b/xi/s6/sv/mount-ksecurity/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/mount-ksecurity/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/mount-ksecurity/up b/xi/s6/sv/mount-ksecurity/up
new file mode 100644
index 0000000..b7c4240
--- /dev/null
+++ b/xi/s6/sv/mount-ksecurity/up
@@ -0,0 +1,8 @@
+#!/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/xi/s6/sv/mount-procfs/type b/xi/s6/sv/mount-procfs/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/mount-procfs/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/mount-procfs/up b/xi/s6/sv/mount-procfs/up
new file mode 100644
index 0000000..130a2a9
--- /dev/null
+++ b/xi/s6/sv/mount-procfs/up
@@ -0,0 +1,4 @@
+#!/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/xi/s6/sv/mount-sysfs/dependencies.d/mount-procfs b/xi/s6/sv/mount-sysfs/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/mount-sysfs/dependencies.d/mount-procfs
diff --git a/xi/s6/sv/mount-sysfs/type b/xi/s6/sv/mount-sysfs/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/mount-sysfs/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/mount-sysfs/up b/xi/s6/sv/mount-sysfs/up
new file mode 100644
index 0000000..c655ddc
--- /dev/null
+++ b/xi/s6/sv/mount-sysfs/up
@@ -0,0 +1,3 @@
+#!/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/xi/s6/sv/net-lo/dependencies.d/remount-root b/xi/s6/sv/net-lo/dependencies.d/remount-root
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/net-lo/dependencies.d/remount-root
diff --git a/xi/s6/sv/net-lo/dependencies.d/vkfs b/xi/s6/sv/net-lo/dependencies.d/vkfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/net-lo/dependencies.d/vkfs
diff --git a/xi/s6/sv/net-lo/type b/xi/s6/sv/net-lo/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/net-lo/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/net-lo/up b/xi/s6/sv/net-lo/up
new file mode 100644
index 0000000..a1b6f9e
--- /dev/null
+++ b/xi/s6/sv/net-lo/up
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ ReadWrite Mode ] 3/6 : Setting up network loopback device" }
+ip link set up dev lo
diff --git a/xi/s6/sv/networking/dependencies.d/machine b/xi/s6/sv/networking/dependencies.d/machine
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/networking/dependencies.d/machine
diff --git a/xi/s6/sv/networking/dependencies.d/vkfs b/xi/s6/sv/networking/dependencies.d/vkfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/networking/dependencies.d/vkfs
diff --git a/xi/s6/sv/networking/down b/xi/s6/sv/networking/down
new file mode 100644
index 0000000..f749735
--- /dev/null
+++ b/xi/s6/sv/networking/down
@@ -0,0 +1,13 @@
+#!/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/xi/s6/sv/networking/type b/xi/s6/sv/networking/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/networking/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/networking/up b/xi/s6/sv/networking/up
new file mode 100644
index 0000000..b7213b6
--- /dev/null
+++ b/xi/s6/sv/networking/up
@@ -0,0 +1,12 @@
+#!/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/xi/s6/sv/prep-dev/dependencies.d/mount-procfs b/xi/s6/sv/prep-dev/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/prep-dev/dependencies.d/mount-procfs
diff --git a/xi/s6/sv/prep-dev/type b/xi/s6/sv/prep-dev/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/prep-dev/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/prep-dev/up b/xi/s6/sv/prep-dev/up
new file mode 100644
index 0000000..abb0bd4
--- /dev/null
+++ b/xi/s6/sv/prep-dev/up
@@ -0,0 +1,4 @@
+#!/bin/execlineb -P
+if { s6-echo "[ Virtual-FS ] 0/6 : Creating mount points" }
+s6-mkdir /dev/shm
+s6-mkdir /dev/pts
diff --git a/xi/s6/sv/random-seed/dependencies.d/mount-devfs b/xi/s6/sv/random-seed/dependencies.d/mount-devfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/random-seed/dependencies.d/mount-devfs
diff --git a/xi/s6/sv/random-seed/dependencies.d/mount-procfs b/xi/s6/sv/random-seed/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/random-seed/dependencies.d/mount-procfs
diff --git a/xi/s6/sv/random-seed/dependencies.d/mount-sysfs b/xi/s6/sv/random-seed/dependencies.d/mount-sysfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/random-seed/dependencies.d/mount-sysfs
diff --git a/xi/s6/sv/random-seed/dependencies.d/remount-root b/xi/s6/sv/random-seed/dependencies.d/remount-root
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/random-seed/dependencies.d/remount-root
diff --git a/xi/s6/sv/random-seed/dependencies.d/udevadm b/xi/s6/sv/random-seed/dependencies.d/udevadm
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/random-seed/dependencies.d/udevadm
diff --git a/xi/s6/sv/random-seed/type b/xi/s6/sv/random-seed/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/random-seed/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/random-seed/up b/xi/s6/sv/random-seed/up
new file mode 100644
index 0000000..9591e6c
--- /dev/null
+++ b/xi/s6/sv/random-seed/up
@@ -0,0 +1,8 @@
+#!/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/xi/s6/sv/remount-root/dependencies.d/checkfs b/xi/s6/sv/remount-root/dependencies.d/checkfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/remount-root/dependencies.d/checkfs
diff --git a/xi/s6/sv/remount-root/type b/xi/s6/sv/remount-root/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/remount-root/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/remount-root/up b/xi/s6/sv/remount-root/up
new file mode 100644
index 0000000..da6bf4c
--- /dev/null
+++ b/xi/s6/sv/remount-root/up
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ ReadWrite Mode ] 1/6 : Remounting root filesystem as rw" }
+s6-mount -o remount,rw / /
diff --git a/xi/s6/sv/rofs/contents.d/cgroups b/xi/s6/sv/rofs/contents.d/cgroups
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rofs/contents.d/cgroups
diff --git a/xi/s6/sv/rofs/contents.d/checkfs b/xi/s6/sv/rofs/contents.d/checkfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rofs/contents.d/checkfs
diff --git a/xi/s6/sv/rofs/contents.d/console b/xi/s6/sv/rofs/contents.d/console
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rofs/contents.d/console
diff --git a/xi/s6/sv/rofs/contents.d/hostname b/xi/s6/sv/rofs/contents.d/hostname
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rofs/contents.d/hostname
diff --git a/xi/s6/sv/rofs/contents.d/hwclock b/xi/s6/sv/rofs/contents.d/hwclock
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rofs/contents.d/hwclock
diff --git a/xi/s6/sv/rofs/contents.d/kermod b/xi/s6/sv/rofs/contents.d/kermod
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rofs/contents.d/kermod
diff --git a/xi/s6/sv/rofs/contents.d/modules b/xi/s6/sv/rofs/contents.d/modules
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rofs/contents.d/modules
diff --git a/xi/s6/sv/rofs/contents.d/swap b/xi/s6/sv/rofs/contents.d/swap
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rofs/contents.d/swap
diff --git a/xi/s6/sv/rofs/contents.d/sysctl b/xi/s6/sv/rofs/contents.d/sysctl
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rofs/contents.d/sysctl
diff --git a/xi/s6/sv/rofs/contents.d/udev b/xi/s6/sv/rofs/contents.d/udev
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rofs/contents.d/udev
diff --git a/xi/s6/sv/rofs/dependencies.d/vkfs b/xi/s6/sv/rofs/dependencies.d/vkfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rofs/dependencies.d/vkfs
diff --git a/xi/s6/sv/rofs/type b/xi/s6/sv/rofs/type
new file mode 100644
index 0000000..757b422
--- /dev/null
+++ b/xi/s6/sv/rofs/type
@@ -0,0 +1 @@
+bundle
diff --git a/xi/s6/sv/rwfs-end/dependencies.d/dmesg b/xi/s6/sv/rwfs-end/dependencies.d/dmesg
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs-end/dependencies.d/dmesg
diff --git a/xi/s6/sv/rwfs-end/dependencies.d/net-lo b/xi/s6/sv/rwfs-end/dependencies.d/net-lo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs-end/dependencies.d/net-lo
diff --git a/xi/s6/sv/rwfs-end/dependencies.d/random-seed b/xi/s6/sv/rwfs-end/dependencies.d/random-seed
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs-end/dependencies.d/random-seed
diff --git a/xi/s6/sv/rwfs-end/dependencies.d/remount-root b/xi/s6/sv/rwfs-end/dependencies.d/remount-root
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs-end/dependencies.d/remount-root
diff --git a/xi/s6/sv/rwfs-end/dependencies.d/tmpfiles-dev b/xi/s6/sv/rwfs-end/dependencies.d/tmpfiles-dev
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs-end/dependencies.d/tmpfiles-dev
diff --git a/xi/s6/sv/rwfs-end/dependencies.d/tmpfiles-setup b/xi/s6/sv/rwfs-end/dependencies.d/tmpfiles-setup
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs-end/dependencies.d/tmpfiles-setup
diff --git a/xi/s6/sv/rwfs-end/type b/xi/s6/sv/rwfs-end/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/rwfs-end/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/rwfs-end/up b/xi/s6/sv/rwfs-end/up
new file mode 100644
index 0000000..6946d37
--- /dev/null
+++ b/xi/s6/sv/rwfs-end/up
@@ -0,0 +1 @@
+s6-true
diff --git a/xi/s6/sv/rwfs/contents.d/cleantmp b/xi/s6/sv/rwfs/contents.d/cleantmp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs/contents.d/cleantmp
diff --git a/xi/s6/sv/rwfs/contents.d/dmesg b/xi/s6/sv/rwfs/contents.d/dmesg
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs/contents.d/dmesg
diff --git a/xi/s6/sv/rwfs/contents.d/net-lo b/xi/s6/sv/rwfs/contents.d/net-lo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs/contents.d/net-lo
diff --git a/xi/s6/sv/rwfs/contents.d/random-seed b/xi/s6/sv/rwfs/contents.d/random-seed
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs/contents.d/random-seed
diff --git a/xi/s6/sv/rwfs/contents.d/remount-root b/xi/s6/sv/rwfs/contents.d/remount-root
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs/contents.d/remount-root
diff --git a/xi/s6/sv/rwfs/contents.d/rwfs-end b/xi/s6/sv/rwfs/contents.d/rwfs-end
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs/contents.d/rwfs-end
diff --git a/xi/s6/sv/rwfs/contents.d/tmpfiles-dev b/xi/s6/sv/rwfs/contents.d/tmpfiles-dev
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs/contents.d/tmpfiles-dev
diff --git a/xi/s6/sv/rwfs/contents.d/tmpfiles-setup b/xi/s6/sv/rwfs/contents.d/tmpfiles-setup
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs/contents.d/tmpfiles-setup
diff --git a/xi/s6/sv/rwfs/dependencies.d/rofs b/xi/s6/sv/rwfs/dependencies.d/rofs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs/dependencies.d/rofs
diff --git a/xi/s6/sv/rwfs/dependencies.d/vkfs b/xi/s6/sv/rwfs/dependencies.d/vkfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/rwfs/dependencies.d/vkfs
diff --git a/xi/s6/sv/rwfs/type b/xi/s6/sv/rwfs/type
new file mode 100644
index 0000000..757b422
--- /dev/null
+++ b/xi/s6/sv/rwfs/type
@@ -0,0 +1 @@
+bundle
diff --git a/xi/s6/sv/services/contents.d/getty b/xi/s6/sv/services/contents.d/getty
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/services/contents.d/getty
diff --git a/xi/s6/sv/services/contents.d/networking b/xi/s6/sv/services/contents.d/networking
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/services/contents.d/networking
diff --git a/xi/s6/sv/services/type b/xi/s6/sv/services/type
new file mode 100644
index 0000000..757b422
--- /dev/null
+++ b/xi/s6/sv/services/type
@@ -0,0 +1 @@
+bundle
diff --git a/xi/s6/sv/swap/dependencies.d/mount-sysfs b/xi/s6/sv/swap/dependencies.d/mount-sysfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/swap/dependencies.d/mount-sysfs
diff --git a/xi/s6/sv/swap/dependencies.d/udev b/xi/s6/sv/swap/dependencies.d/udev
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/swap/dependencies.d/udev
diff --git a/xi/s6/sv/swap/down b/xi/s6/sv/swap/down
new file mode 100644
index 0000000..09fda29
--- /dev/null
+++ b/xi/s6/sv/swap/down
@@ -0,0 +1 @@
+swapoff -a
diff --git a/xi/s6/sv/swap/type b/xi/s6/sv/swap/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/swap/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/swap/up b/xi/s6/sv/swap/up
new file mode 100644
index 0000000..29bf079
--- /dev/null
+++ b/xi/s6/sv/swap/up
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ Read-Only Mode ] 7/9 : Turning on any swap/swap-files" }
+swapon -a
diff --git a/xi/s6/sv/sysctl/dependencies.d/mount-procfs b/xi/s6/sv/sysctl/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/sysctl/dependencies.d/mount-procfs
diff --git a/xi/s6/sv/sysctl/dependencies.d/mount-sysfs b/xi/s6/sv/sysctl/dependencies.d/mount-sysfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/sysctl/dependencies.d/mount-sysfs
diff --git a/xi/s6/sv/sysctl/dependencies.d/udev b/xi/s6/sv/sysctl/dependencies.d/udev
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/sysctl/dependencies.d/udev
diff --git a/xi/s6/sv/sysctl/type b/xi/s6/sv/sysctl/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/sysctl/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/sysctl/up b/xi/s6/sv/sysctl/up
new file mode 100644
index 0000000..670f8e3
--- /dev/null
+++ b/xi/s6/sv/sysctl/up
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ Read-Only Mode ] 0/9 : Setting kernel parameters" }
+redirfd -w 1 /dev/null sysctl --system
diff --git a/xi/s6/sv/tmpfiles-dev/dependencies.d/cleantmp b/xi/s6/sv/tmpfiles-dev/dependencies.d/cleantmp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/tmpfiles-dev/dependencies.d/cleantmp
diff --git a/xi/s6/sv/tmpfiles-dev/dependencies.d/remount-root b/xi/s6/sv/tmpfiles-dev/dependencies.d/remount-root
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/tmpfiles-dev/dependencies.d/remount-root
diff --git a/xi/s6/sv/tmpfiles-dev/dependencies.d/vkfs b/xi/s6/sv/tmpfiles-dev/dependencies.d/vkfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/tmpfiles-dev/dependencies.d/vkfs
diff --git a/xi/s6/sv/tmpfiles-dev/type b/xi/s6/sv/tmpfiles-dev/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/tmpfiles-dev/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/tmpfiles-dev/up b/xi/s6/sv/tmpfiles-dev/up
new file mode 100644
index 0000000..84cea2a
--- /dev/null
+++ b/xi/s6/sv/tmpfiles-dev/up
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ ReadWrite Mode ] 6/6 : Setting up tmpfiles" }
+tmpfiles --prefix=/dev --create --boot
diff --git a/xi/s6/sv/tmpfiles-setup/dependencies.d/cleantmp b/xi/s6/sv/tmpfiles-setup/dependencies.d/cleantmp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/tmpfiles-setup/dependencies.d/cleantmp
diff --git a/xi/s6/sv/tmpfiles-setup/dependencies.d/remount-root b/xi/s6/sv/tmpfiles-setup/dependencies.d/remount-root
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/tmpfiles-setup/dependencies.d/remount-root
diff --git a/xi/s6/sv/tmpfiles-setup/dependencies.d/rofs b/xi/s6/sv/tmpfiles-setup/dependencies.d/rofs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/tmpfiles-setup/dependencies.d/rofs
diff --git a/xi/s6/sv/tmpfiles-setup/type b/xi/s6/sv/tmpfiles-setup/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/tmpfiles-setup/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/tmpfiles-setup/up b/xi/s6/sv/tmpfiles-setup/up
new file mode 100644
index 0000000..e694ec8
--- /dev/null
+++ b/xi/s6/sv/tmpfiles-setup/up
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+if { s6-echo "[ ReadWrite Mode ] 5/6 : Cleaning tempfiles" }
+tmpfiles --exclude-prefix=/dev --create --remove --boot
diff --git a/xi/s6/sv/udev/contents.d/udevadm b/xi/s6/sv/udev/contents.d/udevadm
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/udev/contents.d/udevadm
diff --git a/xi/s6/sv/udev/contents.d/udevd b/xi/s6/sv/udev/contents.d/udevd
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/udev/contents.d/udevd
diff --git a/xi/s6/sv/udev/dependencies.d/vkfs b/xi/s6/sv/udev/dependencies.d/vkfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/udev/dependencies.d/vkfs
diff --git a/xi/s6/sv/udev/type b/xi/s6/sv/udev/type
new file mode 100644
index 0000000..757b422
--- /dev/null
+++ b/xi/s6/sv/udev/type
@@ -0,0 +1 @@
+bundle
diff --git a/xi/s6/sv/udevadm/dependencies.d/mount-devfs b/xi/s6/sv/udevadm/dependencies.d/mount-devfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/udevadm/dependencies.d/mount-devfs
diff --git a/xi/s6/sv/udevadm/dependencies.d/mount-procfs b/xi/s6/sv/udevadm/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/udevadm/dependencies.d/mount-procfs
diff --git a/xi/s6/sv/udevadm/dependencies.d/mount-sysfs b/xi/s6/sv/udevadm/dependencies.d/mount-sysfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/udevadm/dependencies.d/mount-sysfs
diff --git a/xi/s6/sv/udevadm/dependencies.d/udevd b/xi/s6/sv/udevadm/dependencies.d/udevd
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/udevadm/dependencies.d/udevd
diff --git a/xi/s6/sv/udevadm/type b/xi/s6/sv/udevadm/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/xi/s6/sv/udevadm/type
@@ -0,0 +1 @@
+oneshot
diff --git a/xi/s6/sv/udevadm/up b/xi/s6/sv/udevadm/up
new file mode 100644
index 0000000..8e77db2
--- /dev/null
+++ b/xi/s6/sv/udevadm/up
@@ -0,0 +1,9 @@
+#!/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/xi/s6/sv/udevd/dependencies.d/mount-devfs b/xi/s6/sv/udevd/dependencies.d/mount-devfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/udevd/dependencies.d/mount-devfs
diff --git a/xi/s6/sv/udevd/dependencies.d/mount-procfs b/xi/s6/sv/udevd/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/udevd/dependencies.d/mount-procfs
diff --git a/xi/s6/sv/udevd/dependencies.d/mount-sysfs b/xi/s6/sv/udevd/dependencies.d/mount-sysfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/udevd/dependencies.d/mount-sysfs
diff --git a/xi/s6/sv/udevd/run b/xi/s6/sv/udevd/run
new file mode 100644
index 0000000..552ab1d
--- /dev/null
+++ b/xi/s6/sv/udevd/run
@@ -0,0 +1,6 @@
+#!/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/xi/s6/sv/udevd/type b/xi/s6/sv/udevd/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/xi/s6/sv/udevd/type
@@ -0,0 +1 @@
+longrun
diff --git a/xi/s6/sv/vkfs/contents.d/mount-devfs b/xi/s6/sv/vkfs/contents.d/mount-devfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/vkfs/contents.d/mount-devfs
diff --git a/xi/s6/sv/vkfs/contents.d/mount-efivars b/xi/s6/sv/vkfs/contents.d/mount-efivars
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/vkfs/contents.d/mount-efivars
diff --git a/xi/s6/sv/vkfs/contents.d/mount-ksecurity b/xi/s6/sv/vkfs/contents.d/mount-ksecurity
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/vkfs/contents.d/mount-ksecurity
diff --git a/xi/s6/sv/vkfs/contents.d/mount-procfs b/xi/s6/sv/vkfs/contents.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/vkfs/contents.d/mount-procfs
diff --git a/xi/s6/sv/vkfs/contents.d/mount-sysfs b/xi/s6/sv/vkfs/contents.d/mount-sysfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/xi/s6/sv/vkfs/contents.d/mount-sysfs
diff --git a/xi/s6/sv/vkfs/type b/xi/s6/sv/vkfs/type
new file mode 100644
index 0000000..757b422
--- /dev/null
+++ b/xi/s6/sv/vkfs/type
@@ -0,0 +1 @@
+bundle