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