ports/main/nnd-s6-services/rc/core/mount.run/up

12 lines
234 B
Plaintext

#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/core/path
importas -i PATH PATH
emptyenv
export PATH $PATH
define DEST /run
define FSTYPE tmpfs
define OPTS nodev,nosuid
foreground { mkdir -p $DEST } mount -t $FSTYPE -o $OPTS run $DEST