aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/source/system/vfs/mount-run/up
blob: a508833e3baffbb15aa04c37661c70242f300c5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!@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