소스 검색

Update filebrowser-v3.sh

don't show Docker IP
tteckster 3 년 전
부모
커밋
c24dec5b01
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      misc/filebrowser-v3.sh

+ 2 - 1
misc/filebrowser-v3.sh

@@ -1,4 +1,5 @@
 #!/usr/bin/env bash
+IP=$(hostname -I | awk '{print $1}')
 YW=`echo "\033[33m"`
 BL=`echo "\033[36m"`
 RD=`echo "\033[01;31m"`
@@ -86,4 +87,4 @@ msg_ok "Created Service"
 
 msg_ok "Completed Successfully!\n"
 echo -e "${APP} should be reachable by going to the following URL.
-         ${BL}http://$(hostname -I):8080${CL} \n"
+         ${BL}http://$IP:8080${CL} \n"