diff options
Diffstat (limited to 'src/lib/source/system/vfs/mount-run/up')
| -rw-r--r-- | src/lib/source/system/vfs/mount-run/up | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/source/system/vfs/mount-run/up b/src/lib/source/system/vfs/mount-run/up new file mode 100644 index 0000000..54920af --- /dev/null +++ b/src/lib/source/system/vfs/mount-run/up @@ -0,0 +1,12 @@ +#!@shebangdir@/execlineb -P + +# ISC license. + +fdmove -c 2 1 + +# if tmpfsdir is = /run, /run it is already mounted. +# the value before "=" is replaced during build time, +# making this check look silly. + +if -x0 { eltest @tmpfsdir@ != /run } + mount -t tmpfs tmpfs /run |
