summaryrefslogtreecommitdiffstats
path: root/target/linux/x86/base-files/lib/preinit/20_check_iso
blob: beff6eba09599b535cef9df9a538adfaafe61019 (plain)
1
2
3
4
5
check_for_iso() {
	grep -qE '/dev/root.*iso9660' /proc/mounts && ramoverlay
}

boot_hook_add preinit_mount_root check_for_iso