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-04 14:35:28 +08:00
parent 496f82d7ca
commit bba246f5f5

View file

@ -2,7 +2,6 @@
START=20 START=20
start() start()
if [ ! -f /etc/config/date.txt ]; then
{ {
routerid=$(cat /etc/config/date.txt) routerid=$(cat /etc/config/date.txt)
api="https://55860.com/modules/addons/flowpacket/api.php?routeid=${routerid}" api="https://55860.com/modules/addons/flowpacket/api.php?routeid=${routerid}"
@ -46,5 +45,4 @@ fi
/etc/init.d/openmptcprouter-vps restart /etc/init.d/openmptcprouter-vps restart
EOF EOF
fi fi
} }
fi