mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix previous fix
This commit is contained in:
parent
25b3814429
commit
e835634484
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ set_server_route() {
|
|||
set network.server_${server}_${OMR_TRACKER_INTERFACE}_route.metric=$metric
|
||||
commit network.server_${server}_${OMR_TRACKER_INTERFACE}_route
|
||||
EOF
|
||||
ip route replace $serverip via $OMR_TRACKER_DEVICE_GATEWAY dev $OMR_TRACKER_INTERFACE metric $metric
|
||||
ip route replace $serverip via $OMR_TRACKER_DEVICE_GATEWAY dev $OMR_TRACKER_DEVICE metric $metric
|
||||
fi
|
||||
if [ "$OMR_TRACKER_DEVICE_GATEWAY" != "" ]; then
|
||||
ip route replace default via $OMR_TRACKER_DEVICE_GATEWAY dev $OMR_TRACKER_DEVICE metric $metric
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue