Skip to content

Commit

Permalink
Merge pull request #49 from jkdf2/master
Browse files Browse the repository at this point in the history
Clarify IP Address in install.sh
  • Loading branch information
jacroe committed Feb 21, 2014
2 parents f83474d + 81f7d9a commit a80024a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ fifo = $HOME/pidora/ctl" >> ~/.config/pianobar/config
echo "We think we're done. Let's test it, shall we?"
read -n1 -r -p "Press any key to continue..."
clear
echo "We're going to start the Pidora webserver now. You can access it by going to http://127.0.0.1:8080 in a browser."
LANip=`ip addr show | awk '$1=="inet" {print $2}' | cut -f1 -d'/'`
echo "We're going to start the Pidora webserver now."
echo "You can access it by going to http://127.0.0.1:8080 in the RPi's browser or"
echo "http://"$LANip":8080 on a device on the same Local Area Network."
echo "You should have full control of pianobar. Experiment with it to be sure."
echo "You can stop the server at any time by pressing Ctrl+C."
python pidora/hello.py
Expand Down

0 comments on commit a80024a

Please sign in to comment.