Skip to content

Instantly share code, notes, and snippets.

@dirtycajunrice
Created March 17, 2016 23:05
Show Gist options
  • Save dirtycajunrice/a9cfd627529fab972396 to your computer and use it in GitHub Desktop.
Save dirtycajunrice/a9cfd627529fab972396 to your computer and use it in GitHub Desktop.
while [[ ! $extip ]]; do
extip=$(curl -s http://checkip.amazonaws.com/)
done
whiptail --title Complete --msgbox \ "Check that everything has been set up correctly by going to:
Internal IP: http://$(ifconfig | grep 'inet end.' | cut -d ':' -f 2 | awk '{ print $1 }' | \
grep -E '^(192\.168|10\.|172\.1[6-9]\.|172\.2[0-9]\.|172\.3[01]\.)'):8081
OR
External IP: http://$extip:8081
make sure to add sickrage to your download clients group" 15 64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment