소스 검색

Update webmin.sh

tteckster 3 년 전
부모
커밋
6be1f084d6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      misc/webmin.sh

+ 2 - 2
misc/webmin.sh

@@ -33,8 +33,8 @@ echo -en "${GN} Setting Default Webmin usermame & password to root... "
 /usr/share/webmin/changepass.pl /etc/webmin root root &>/dev/null
 rm -rf /root/webmin_1.984_all.deb
 echo -e "${CM}${CL} \r"
-
-echo -e    "${BL} Successfully Installed Webmin, Now Go To https://IP:10000 ${CL}"
+IP=$(hostname -I | cut -f1 -d ' ')
+echo -e    "${BL} Successfully Installed Webmin, Now Go To https://&{IP}:10000 ${CL}"
 
 
 # bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/webmin.sh)"