mirror of
https://github.com/cjdelisle/openwrt.git
synced 2025-02-15 12:18:29 +00:00
6 lines
126 B
Plaintext
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
|