diff options
| author | Robert Günzler <r@gnzler.io> | 2023-09-25 11:56:34 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2023-09-25 11:56:34 +0200 |
| commit | f5c219983c0f60a07f1bd52b6f6071e86f35455e (patch) | |
| tree | b7520a02b9822481f29aea4ccb404744a73414b1 /os/etc/s6-rc/src/mount-procfs | |
| parent | 91ba318df1ff9b04d08af373ae904f61a91bf489 (diff) | |
add os config
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'os/etc/s6-rc/src/mount-procfs')
| -rw-r--r-- | os/etc/s6-rc/src/mount-procfs/type | 1 | ||||
| -rw-r--r-- | os/etc/s6-rc/src/mount-procfs/up | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/os/etc/s6-rc/src/mount-procfs/type b/os/etc/s6-rc/src/mount-procfs/type new file mode 100644 index 0000000..bdd22a1 --- /dev/null +++ b/os/etc/s6-rc/src/mount-procfs/type @@ -0,0 +1 @@ +oneshot diff --git a/os/etc/s6-rc/src/mount-procfs/up b/os/etc/s6-rc/src/mount-procfs/up new file mode 100644 index 0000000..d950f34 --- /dev/null +++ b/os/etc/s6-rc/src/mount-procfs/up @@ -0,0 +1,7 @@ +#!/bin/execlineb -P + +foreground { + if -n { test -e /proc/mounts } + if -n { mountpoint -q /proc } + mount -t proc proc /proc -o nosuid,noexec,nodev +} |