2022-07-30 14:00:54 +00:00
|
|
|
#!/bin/execlineb -P
|
|
|
|
s6-envdir -i /etc/s6/env/core/path
|
|
|
|
importas -i PATH PATH
|
|
|
|
emptyenv
|
|
|
|
|
|
|
|
export PATH $PATH
|
|
|
|
define DEST /dev/pts
|
|
|
|
define FSTYPE devpts
|
|
|
|
define OPTS nosuid,noexec,mode=620
|
|
|
|
|
2022-08-31 09:33:18 +00:00
|
|
|
fdclose 1
|
|
|
|
fdclose 2
|
|
|
|
|
2022-07-30 14:00:54 +00:00
|
|
|
foreground {
|
|
|
|
foreground { mkdir -p $DEST } mount -t $FSTYPE -o $OPTS pts $DEST
|
|
|
|
} if -nt {
|
|
|
|
importas status ? test $status -eq 1
|
|
|
|
}
|