Skip to content

Commit

Permalink
Fix OMR-Tracker Post tracking error script
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Nov 15, 2024
1 parent 444c99c commit 0b3b88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omr-tracker/files/usr/share/omr/post-tracking.d/002-error
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ if [ "$OMR_TRACKER_STATUS" = "ERROR" ] || { [ "$OMR_TRACKER_INTERFACE" != "omrvp
/etc/init.d/openvpn restart omr >/dev/null 2>&1
fi
config_load openmptcprouter
if [ "$(uci -q get openmptcprouter.settings.pihole_auto_conf)" != "0" ] && config_foreach disable_pihole server
[ "$(uci -q get openmptcprouter.settings.pihole_auto_conf)" != "0" ] && config_foreach disable_pihole server
#if [ "$(uci -q get openmptcprouter.settings.master)" != "balancing" ] || [ "$(uci -q get openmptcprouter.settings.vpn)" = "mlvpn" ]; then
if [ "$(uci -q get openmptcprouter.settings.master)" != "balancing" ]; then
config_foreach set_server_default_route server
Expand Down

0 comments on commit 0b3b88a

Please sign in to comment.