#!/bin/bash echo_user() { echo echo "--------------- Starting with user \"$_user\" ---------------" } while : do clear echo "--------------- OpenXE manual upgrade ---------------" echo -e "Choose user:" echo -e "1) autodect user " echo -e "2) use current user " echo -e "3) read username from \"upgrade.user\" file" echo -e "4) enter username " echo "" echo -e "0) Exit" read -p "Choose an option: " main