mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-09-19 15:59:07 +02:00
ip addr for startup
This commit is contained in:
+2
-1
@@ -92,7 +92,8 @@ show_menu () {
|
|||||||
;;
|
;;
|
||||||
5)
|
5)
|
||||||
sudo /etc/init.d/craftbeerpiboot start
|
sudo /etc/init.d/craftbeerpiboot start
|
||||||
whiptail --title "CraftBeerPi started" --msgbox "Please connect via Browser: http://<IP-ADDRESS>:5000" 8 78
|
ipaddr=`ifconfig wlan0 2>/dev/null|awk '/inet addr:/ {print $2}'|sed 's/addr://'`
|
||||||
|
whiptail --title "CraftBeerPi started" --msgbox "Please connect via Browser: http://$ipaddr:5000" 8 78
|
||||||
show_menu
|
show_menu
|
||||||
;;
|
;;
|
||||||
6)
|
6)
|
||||||
|
|||||||
Reference in New Issue
Block a user