Bash functions require return to followup script flow

This first patch allow the script to actually continue its work and not loop on the overall process steps (udev rules, rooting.. )