x86: add grub2 iso support
[openwrt/staging/yousong.git] / target / linux / x86 / base-files / lib / preinit / 20_check_iso
1 check_for_iso() {
2 grep -qE '/dev/root.*iso9660' /proc/mounts && ramoverlay
3 }
4
5 boot_hook_add preinit_mount_root check_for_iso