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:
parent
f3cbcccd28
commit
ba913f1807
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue