Skip to content

Commit

Permalink
Update mtproxy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chummumm authored Feb 21, 2020
1 parent 15ac624 commit d65b50a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mtproxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ systemctl restart mtproxy
echo "完成."
clear
echo "mtproxy.service已注册"
echo -e "\033[34m请手动放行防火墙端口\033[0m"
echo -e "\033[36m请手动放行防火墙端口\033[0m"
echo -e "\033[33m请使用 systemctl status mtproxy 命令查看证书是否获取成功!!!!!!\033[0m"
echo -e "\033[32m代理信息:\033[0m"
echo -e "\033[32mtg://proxy?server=$ip&port=$num&secret=dd$secret\033[0m"
echo -e "\033[32mtg://proxy?server=$ip&port=$num&secret=ee$secret$hexdomain\033[0m"
echo -e "\033[32mtg://proxy?server=$ip&port=$num&secret=dd$secret\033[0m" > /etc/mtproxy/secret
echo -e "\033[32mtg://proxy?server=$ip&port=$num&secret=ee$secret$hexdomain\033[0m" >> /etc/mtproxy/secret
echo "后续查看配置信息可使用 cat /etc/mtproxy/secret"
echo -e "\033[34m后续查看配置信息可使用 cat /etc/mtproxy/secret\033[0m"
echo "删除mtproxy及其守护进程请运行: wget --no-check-certificate https://raw.githubusercontent.com/chummumm/one-key-mtp/master/deletemtproxy.sh && bash deletemtproxy.sh"
rm -- "$0"

0 comments on commit d65b50a

Please sign in to comment.