modify ramdisk init script for permission