File tree 3 files changed +16
-4
lines changed
3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 1
1
#!/bin/execlineb -P
2
2
if { s6-echo "[ Virtual-FS ] 3/6 : Mounting /dev/pts" }
3
- s6-mount -t devpts -o mode=0620,gid=5,nosuid,noexec devpts /dev/pts
3
+ foreground {
4
+ if -n { mountpoint -q /dev/pts }
5
+ s6-mount -t devpts -o mode=0620,gid=5,nosuid,noexec devpts /dev/pts
6
+ }
Original file line number Diff line number Diff line change 1
1
#!/bin/execlineb -P
2
2
if { s6-echo "[ Virtual-FS ] 4/6 : Mounting /dev/shm" }
3
- s6-mount -t tmpfs -o mode=1777,nosuid,nodev shm /dev/shm
3
+ foreground {
4
+ if -n { mountpoint -q /dev/shm }
5
+ s6-mount -t tmpfs -o mode=1777,nosuid,nodev shm /dev/shm
6
+ }
Original file line number Diff line number Diff line change 1
1
#!/bin/execlineb -P
2
2
if { s6-echo "[ Virtual-FS ] 0/6 : Creating mount points" }
3
- s6-mkdir /dev/shm
4
- s6-mkdir /dev/pts
3
+ foreground {
4
+ if -n { s6-test -d /dev/shm }
5
+ s6-mkdir /dev/shm
6
+ }
7
+ foreground {
8
+ if -n { s6-test -d /dev/pts }
9
+ s6-mkdir /dev/pts
10
+ }
You can’t perform that action at this time.
0 commit comments