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