mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
x86: add grub2 iso support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33639 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
5
target/linux/x86/base-files/lib/preinit/20_check_iso
Normal file
5
target/linux/x86/base-files/lib/preinit/20_check_iso
Normal file
@@ -0,0 +1,5 @@
|
||||
check_for_iso() {
|
||||
grep -qE '/dev/root.*iso9660' /proc/mounts && ramoverlay
|
||||
}
|
||||
|
||||
boot_hook_add preinit_mount_root check_for_iso
|
||||
Reference in New Issue
Block a user