summaryrefslogtreecommitdiff
path: root/services/tmpfsrun.in
diff options
context:
space:
mode:
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