diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-07 23:01:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-07 23:01:52 +0000 |
commit | a1bcd25082fd6780d6eb9184acb1813bf723841f (patch) | |
tree | 0b1632d204e304ccf1e2596952e4910f1e5d7865 /target/linux/x86/base-files/lib | |
parent | 53cc34e517329fbc2ce90a356e2f97f7aa727c69 (diff) | |
download | upstream-a1bcd25082fd6780d6eb9184acb1813bf723841f.tar.gz upstream-a1bcd25082fd6780d6eb9184acb1813bf723841f.tar.bz2 upstream-a1bcd25082fd6780d6eb9184acb1813bf723841f.zip |
x86: add grub2 iso support
SVN-Revision: 33639
Diffstat (limited to 'target/linux/x86/base-files/lib')
-rw-r--r-- | target/linux/x86/base-files/lib/preinit/20_check_iso | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/x86/base-files/lib/preinit/20_check_iso b/target/linux/x86/base-files/lib/preinit/20_check_iso new file mode 100644 index 0000000000..beff6eba09 --- /dev/null +++ b/target/linux/x86/base-files/lib/preinit/20_check_iso @@ -0,0 +1,5 @@ +check_for_iso() { + grep -qE '/dev/root.*iso9660' /proc/mounts && ramoverlay +} + +boot_hook_add preinit_mount_root check_for_iso |