Add helper script for dual boot detection in updater-script