summaryrefslogtreecommitdiff
path: root/services/tmpfsrun.in
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-06 18:40:09 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-07 01:33:58 +0200
commit4f4a377d7acb555193566db3ee459adc19e2e6a5 (patch)
treea5b334c458c48864b469dcd60ae9a4aa35ea3739 /services/tmpfsrun.in
parent212d3022e7dc9117351c09d9154d2360fe1eb91f (diff)
Add VFS setup scripts
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'services/tmpfsrun.in')
-rw-r--r--services/tmpfsrun.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/services/tmpfsrun.in b/services/tmpfsrun.in
new file mode 100644
index 0000000..d20e782
--- /dev/null
+++ b/services/tmpfsrun.in
@@ -0,0 +1,8 @@
+description "mount /run"
+type wait
+target boot
+before vfs
+exec "@SBINPATH@/mount" -t tmpfs none /run
+exec "@BINPATH@/mkdir" /run/lock -m 0755
+exec "@BINPATH@/ln" -s /run /var/run
+exec "@BINPATH@/ln" -s /run/lock /var/lock