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 16, 2020
1 parent a3bf281 commit 8cc91e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtproxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fi &&
STR="$domain" &&
HEXVAL=$(xxd -pu <<< "$STR") &&
hexdomain=${HEXVAL%0a} &&
ip=$(curl ip.sb) &&
ip=$(curl -4 -k ip.sb) &&
echo 开始注册mtproxy守护进程...... &&
wget -q --no-check-certificate https://raw.githubusercontent.com/chummumm/one-key-mtp/master/mtproxy.service -O /etc/systemd/system/mtproxy.service &&
sed -i "s/mtprotoproxy.py/\/etc\/mtproxy\/mtprotoproxy.py/g" /etc/systemd/system/mtproxy.service &&
Expand Down

0 comments on commit 8cc91e7

Please sign in to comment.