Update gl-inet.sh

This commit is contained in:
悟空的日常镜像仓库 2023-09-25 16:44:18 +08:00
parent d561bdfd9b
commit 2ec4860bbf
1 changed files with 8 additions and 9 deletions

View File

@ -250,15 +250,14 @@ set_glfan_temp() {
else else
echo "错误: 请输入整数." echo "错误: 请输入整数."
fi fi
}
rollback_old_version() { rollback_old_version() {
download_url="https://ghproxy.com/https://github.com/wukongdaily/gl-inet-onescript/raw/1f25c161512e9b416227f60656e8c2139c993f69/gl-inet.run" download_url="https://ghproxy.com/https://github.com/wukongdaily/gl-inet-onescript/raw/1f25c161512e9b416227f60656e8c2139c993f69/gl-inet.run"
local_file_path="/tmp/gl-inet.run" local_file_path="/tmp/gl-inet.run"
wget -O "$local_file_path" "$download_url" wget -O "$local_file_path" "$download_url"
chmod +x "$local_file_path" chmod +x "$local_file_path"
"$local_file_path" "$local_file_path"
}
} }
while true; do while true; do