Browse Source

does not show IP address, resolved

pull/188/head
Wendell Borges 7 years ago
parent
commit
571f9cf7cc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      install.sh

+ 1
- 1
install.sh View File

@@ -109,7 +109,7 @@ show_menu () {
;;
5)
sudo /etc/init.d/craftbeerpiboot start
ipaddr=`ifconfig wlan0 2>/dev/null|awk '/inet addr:/ {print $2}'|sed 's/addr://'`
ipaddr=`ifconfig wlan0 2>/dev/null | awk '/inet/ {print $2}' | head -n1`
whiptail --title "CraftBeerPi started" --msgbox "Please connect via Browser: http://$ipaddr:5000" 8 78
show_menu
;;


Loading…
Cancel
Save