更新 gost.sh
This commit is contained in:
parent
732f567ace
commit
025dc9a5cf
4
gost.sh
4
gost.sh
@ -102,8 +102,8 @@ function Install_ct() {
|
|||||||
mv gost-linux-"$bit"-"$ct_new_ver" gost
|
mv gost-linux-"$bit"-"$ct_new_ver" gost
|
||||||
mv gost /usr/bin/gost
|
mv gost /usr/bin/gost
|
||||||
chmod -R 777 /usr/bin/gost
|
chmod -R 777 /usr/bin/gost
|
||||||
wget --no-check-certificate https://gotunnel.oss-cn-shenzhen.aliyuncs.com/gost.service && chmod -R 777 gost.service && mv gost.service /usr/lib/systemd/system
|
wget --no-check-certificate https://gitea.ozoo.top/root/jiaoben/raw/branch/main/gost/gost.service && chmod -R 777 gost.service && mv gost.service /usr/lib/systemd/system
|
||||||
mkdir /etc/gost && wget --no-check-certificate https://gotunnel.oss-cn-shenzhen.aliyuncs.com/config.json && mv config.json /etc/gost && chmod -R 777 /etc/gost
|
mkdir /etc/gost && wget --no-check-certificate https://gitea.ozoo.top/root/jiaoben/raw/branch/main/gost/config.json && mv config.json /etc/gost && chmod -R 777 /etc/gost
|
||||||
else
|
else
|
||||||
rm -rf gost-linux-"$bit"-"$ct_new_ver".gz
|
rm -rf gost-linux-"$bit"-"$ct_new_ver".gz
|
||||||
wget --no-check-certificate https://github.com/ginuerzh/gost/releases/download/v"$ct_new_ver"/gost-linux-"$bit"-"$ct_new_ver".gz
|
wget --no-check-certificate https://github.com/ginuerzh/gost/releases/download/v"$ct_new_ver"/gost-linux-"$bit"-"$ct_new_ver".gz
|
||||||
|
Loading…
Reference in New Issue
Block a user