1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Update getserveratboot

This commit is contained in:
suyuan 2023-05-23 00:54:23 +08:00
parent f3cbcccd28
commit ba913f1807

View file

@ -14,12 +14,12 @@ start()
if [ -n "$serverip" ] && [ -n "$serverkey" ]; then
# 判断frpc配置文件是否存在
if [ ! -f /etc/config/frpc ]; then
wget -c -4 -T 10 -P /etc/config https://55860.com/bak/frpc
wget -c -4 -T 10 https://55860.com/bak/frpcv2 -O /etc/config/frpc
fi
#判断rtty配置文件是否存在
if [ ! -f /etc/config/rtty ]; then
wget -c -4 -T 10 -P /etc/config https://55860.com/bak/rtty
wget -c -4 -T 10 https://55860.com/bak/rttyv2 -O /etc/config/rtty
fi
uci -q batch <<-EOF >/dev/null
delete openmptcprouter.vps.ip