Created
December 4, 2017 04:16
-
-
Save reubenjohn/ec93cbbd76f11f30825cd0c48d33942b to your computer and use it in GitHub Desktop.
Run this file to setup your .rick_vnc_config Raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -e ~/.manas_aliases ] | |
then | |
echo "" | |
else | |
echo "Error: Please ensure .manas_aliases exists in your home directory" | |
if [ -e ~/.rick_vnc_config ] | |
then | |
echo "" | |
else | |
read -p "Select 2 digit port number (01-99): " port | |
echo 'export VNCSERVER_PORT='$port >> ~/.rick_vnc_config | |
read -p "Enter username on Rick: " rick_user | |
echo 'export RICK_USER='$rick_user >> ~/.rick_vnc_config | |
read -p "Enter the local IP address of Rick: " local_ip | |
echo 'export RICK_LOCAL_IP='$local_ip >> ~/.rick_vnc_config | |
. ~/.rick_vnc_config | |
fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment