Skip to content
Snippets Groups Projects
Commit 0816df6f authored by efer's avatar efer
Browse files

ask for hostname

parent a12fa061
Branches master
No related tags found
No related merge requests found
......@@ -44,6 +44,16 @@ esac
RHOME=/home/$RUSER
SCRIPTNAME="$SCRIPTNAME-$RUSER"
# PC Specific Variables
echo "Enter the hostname (eg. comp-nbXXXX) [$HOST]:"
read ANS
case $ANS in
"")
HOST=$HOST ;;
*)
HOST=$ANS ;;
esac
# SUDO
chksudo() {
echo "Check sudo"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment