mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:39:25 +08:00
fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user