1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-18 22:26:16 +02:00
openwrt-xburst/target/linux/x86/base-files/lib/preinit/20_check_iso

6 lines
126 B
Plaintext
Raw Normal View History

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