aboutsummaryrefslogtreecommitdiff
path: root/layout/rootfs/etc/s6-rc/source-base/mount-devpts/up
diff options
context:
space:
mode:
Diffstat (limited to 'layout/rootfs/etc/s6-rc/source-base/mount-devpts/up')
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/mount-devpts/up4
1 files changed, 4 insertions, 0 deletions
diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-devpts/up b/layout/rootfs/etc/s6-rc/source-base/mount-devpts/up
new file mode 100644
index 0000000..8c5da6d
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source-base/mount-devpts/up
@@ -0,0 +1,4 @@
+if { s6-mkdir -p -m 0755 -- /dev/pts }
+foreground { s6-mount -wt devpts -o noexec,nosuid,gid=0,mode=0600 devpts /dev/pts }
+importas ? ?
+s6-test $? -le 1