]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/initscripts/init.d/mountkernfs
fifteen: move /var/run to /run.
[people/teissler/ipfire-2.x.git] / src / initscripts / init.d / mountkernfs
index 9cbceb4d065e97e26d806a9da7e0adc9546d349e..6ea2d188f51914633f239da6c38c86351d526a85 100644 (file)
@@ -29,6 +29,11 @@ case "${1}" in
                        mount -n -t sysfs /sys /sys || failed=1
                fi
 
+               if ! mountpoint /run &> /dev/null; then
+                       boot_mesg -n " /run" ${NORMAL}
+                       mount -n -t tmpfs,nosuid,nodev,mode=755 /run /run || failed=1
+               fi
+
                boot_mesg "" ${NORMAL}
 
                (exit ${failed})