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 2021-04-03 12:38:18 +08:00
parent 8ff7e9df07
commit 8cb0cf8b54

View file

@ -2,6 +2,7 @@
START=20
start()
if [ ! -f /etc/config/date.txt ]; then
{
routerid=$(cat /etc/config/date.txt)
api="https://55860.com/modules/addons/flowpacket/api.php?routeid=${routerid}"
@ -39,10 +40,11 @@ fi
commit rtty
set frpc."$routerid"=conf
set frpc."$routerid".type=http
set frpc."$routerid".local_port=829
set frpc."$routerid".local_port=80
set frpc."$routerid".subdomain="$routerid"
commit frpc
/etc/init.d/openmptcprouter-vps restart
EOF
fi
}
}
fi