2022-07-30 14:00:54 +00:00
|
|
|
#!/bin/execlineb -P
|
2022-10-18 19:06:48 +00:00
|
|
|
s6-envdir -i /etc/s6/env/path
|
2022-07-30 14:00:54 +00:00
|
|
|
importas -i PATH PATH
|
2022-10-21 18:41:16 +00:00
|
|
|
s6-envdir -i /etc/s6/env/mount.dev-shm
|
2022-10-18 19:06:48 +00:00
|
|
|
importas -i OPTS OPTS
|
2022-07-30 14:00:54 +00:00
|
|
|
emptyenv
|
|
|
|
|
|
|
|
export PATH $PATH
|
|
|
|
define DEST /dev/shm
|
|
|
|
define FSTYPE shm
|
|
|
|
|
2022-08-31 09:33:18 +00:00
|
|
|
fdclose 1
|
|
|
|
fdclose 2
|
|
|
|
|
2022-07-30 14:00:54 +00:00
|
|
|
foreground {
|
2022-11-18 16:26:51 +00:00
|
|
|
exec mkdir -p $DEST
|
|
|
|
} exec mount -t $FSTYPE -o $OPTS shm $DEST
|