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

Add type None, API only or Ping only to OMR-Tracker server

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-08-01 11:58:46 +02:00
parent cb906c82f4
commit c36b666666
5 changed files with 38 additions and 7 deletions

View file

@ -136,5 +136,11 @@ if [ "$(uci -q get omr-tracker.defaults.family)" = "" ]; then
commit omr-tracker
EOF
fi
if [ "$(uci -q get omr-tracker.server.type)" = "" ]; then
uci -q batch <<-EOF >/dev/null
set omr-tracker.server.type='apiping'
commit omr-tracker
EOF
fi
exit 0