summaryrefslogtreecommitdiff
path: root/s6/sv/dmesg
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-01 22:01:26 +0000
committerdavidovski <david@davidovski.xyz>2022-03-01 22:01:26 +0000
commitefee4ebf43e376a7cd8b8abcef0c70aa90427bb4 (patch)
tree13956b6dbca8622b71edbdd3a1c2a949c5d1aac8 /s6/sv/dmesg
initial commit
Diffstat (limited to 's6/sv/dmesg')
-rw-r--r--s6/sv/dmesg/dependencies.d/remount-root0
-rw-r--r--s6/sv/dmesg/dependencies.d/vkfs0
-rw-r--r--s6/sv/dmesg/type1
-rw-r--r--s6/sv/dmesg/up3
4 files changed, 4 insertions, 0 deletions
diff --git a/s6/sv/dmesg/dependencies.d/remount-root b/s6/sv/dmesg/dependencies.d/remount-root
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/s6/sv/dmesg/dependencies.d/remount-root
diff --git a/s6/sv/dmesg/dependencies.d/vkfs b/s6/sv/dmesg/dependencies.d/vkfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/s6/sv/dmesg/dependencies.d/vkfs
diff --git a/s6/sv/dmesg/type b/s6/sv/dmesg/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/s6/sv/dmesg/type
@@ -0,0 +1 @@
+oneshot
diff --git a/s6/sv/dmesg/up b/s6/sv/dmesg/up
new file mode 100644
index 0000000..872a8d7
--- /dev/null
+++ b/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