]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/initscripts/init.d/mountkernfs
core76: Sort exclude file alphabetically.
[people/teissler/ipfire-2.x.git] / src / initscripts / init.d / mountkernfs
index 9cbceb4d065e97e26d806a9da7e0adc9546d349e..f7be82d01e5097e158a8cf032743f756d196ebdc 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 -o nosuid,nodev,mode=755,size=8M /run /run || failed=1
+               fi
+
                boot_mesg "" ${NORMAL}
 
                (exit ${failed})