Update mw.tpl

pull/202/head
midoks 3 years ago
parent 5b8cf7bb0a
commit cf645d1f20
  1. 5
      scripts/init.d/mw.tpl

@ -226,12 +226,13 @@ case "$1" in
echo 'True' > $mw_path/data/ipv6.pl
address="MW-Panel-Url: http://[$v6]:$port$auth_path"
else
address="No v4 or v6 available"
address="MW-Panel-Url: http://you-network-ip:$port$auth_path"
fi
else
address="MW-Panel-Url: http://$address:$port$auth_path"
fi
show_panel_ip="$port|"
echo -e "=================================================================="
echo -e "\033[32mMW-Panel default info!\033[0m"
echo -e "=================================================================="
@ -240,7 +241,7 @@ case "$1" in
echo -e "password: $password"
echo -e "\033[33mWarning:\033[0m"
echo -e "\033[33mIf you cannot access the panel, \033[0m"
echo -e "\033[33mrelease the following port (7200|888|80|443|22) in the security group\033[0m"
echo -e "\033[33mrelease the following port (${show_panel_ip}888|80|443|22) in the security group\033[0m"
echo -e "=================================================================="
;;
esac

Loading…
Cancel
Save