16 lines
312 B
Plaintext
16 lines
312 B
Plaintext
#!/bin/execlineb -P
|
|
s6-envdir -i /etc/s6/env/core/path
|
|
importas -i PATH PATH
|
|
emptyenv
|
|
|
|
export PATH $PATH
|
|
define DEST /dev
|
|
define FSTYPE devtmpfs
|
|
define OPTS nosuid,noexec,mode=755
|
|
|
|
foreground {
|
|
foreground { mkdir -p $DEST } mount -t $FSTYPE -o $OPTS dev $DEST
|
|
} if -nt {
|
|
importas status ? test $status -eq 1
|
|
}
|