Add script to detect mounting scheme during flash and inject proper fstab into ramdisk