summaryrefslogtreecommitdiff
path: root/s6/sv/kermod
diff options
context:
space:
mode:
Diffstat (limited to 's6/sv/kermod')
-rw-r--r--s6/sv/kermod/dependencies.d/mount-procfs0
-rw-r--r--s6/sv/kermod/dependencies.d/mount-sysfs0
-rw-r--r--s6/sv/kermod/type1
-rw-r--r--s6/sv/kermod/up4
4 files changed, 5 insertions, 0 deletions
diff --git a/s6/sv/kermod/dependencies.d/mount-procfs b/s6/sv/kermod/dependencies.d/mount-procfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/s6/sv/kermod/dependencies.d/mount-procfs
diff --git a/s6/sv/kermod/dependencies.d/mount-sysfs b/s6/sv/kermod/dependencies.d/mount-sysfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/s6/sv/kermod/dependencies.d/mount-sysfs
diff --git a/s6/sv/kermod/type b/s6/sv/kermod/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/s6/sv/kermod/type
@@ -0,0 +1 @@
+oneshot
diff --git a/s6/sv/kermod/up b/s6/sv/kermod/up
new file mode 100644
index 0000000..f8d4d90
--- /dev/null
+++ b/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 }