소스 검색

ip addr for startup

tags/3.0
Manuel83 8 년 전
부모
커밋
c0e3ef4c4c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      install.sh

+ 2
- 1
install.sh 파일 보기

@@ -92,7 +92,8 @@ show_menu () {
;;
5)
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
;;
6)


불러오는 중...
취소
저장