This commit is contained in:
xcsoft
2022-06-21 20:17:55 +08:00
committed by GitHub
parent 71c03e2440
commit a33c151ed8
+4 -1
View File
@@ -185,6 +185,9 @@ case "$1" in
if [ -f $mw_path/data/admin_path.pl ];then
auth_path=$(cat $mw_path/data/admin_path.pl)
fi
if [ "$address" = "" ];then
address=$(curl -sS --connect-timeout 10 -m 60 https://v6r.ipip.net/?format=text)
fi
echo -e "=================================================================="
echo -e "\033[32mMW-Panel default info!\033[0m"
@@ -197,4 +200,4 @@ case "$1" in
echo -e "\033[33mrelease the following port (7200|888|80|443|20|21) in the security group\033[0m"
echo -e "=================================================================="
;;
esac
esac