1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-11 17:35:18 +02:00
openwrt-xburst/target/linux/x86/base-files/lib/preinit/20_check_iso
nbd 1be0626273 x86: add grub2 iso support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:01:52 +00:00

6 lines
126 B
Plaintext

check_for_iso() {
grep -qE '/dev/root.*iso9660' /proc/mounts && ramoverlay
}
boot_hook_add preinit_mount_root check_for_iso