Optionally mount tmpfs within the loader

- XXX DANGER @jnealtowns be advised
This commit is contained in:
Carl D. Roth
2016-05-11 13:57:22 -07:00
parent 2915cbb35b
commit 19a8e75036

View File

@@ -36,7 +36,12 @@ trap "restoreconsole; reboot -f" EXIT
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -o remount,size=1M /dev
case "$(stat -f -c "%T" /tmp)" in
tmpfs|ramfs) ;;
*)
mount -t tmpfs tmpfs /tmp
;;
esac
# Grab cmdline settings