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

Set default OMR VPS admin port

This commit is contained in:
Ycarus 2018-12-13 16:47:26 +01:00
parent 209aeaf268
commit d72e7f9f76

View file

@ -40,4 +40,10 @@ if [ "$(uci -q get openmptcprouter.settings.master)" = "" ]; then
commit openmptcprouter commit openmptcprouter
EOF EOF
fi fi
if [ "$(uci -q get openmptcprouter.vps.port)" = "" ]; then
uci -q batch <<-EOF
set openmptcprouter.vps.port='65500'
commit openmptcprouter
EOF
fi
exit 0 exit 0