ramdisk generation script