1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 10:31:51 +00:00
openmptcprouter-feeds/omr-quota
bdaylik bb483535fa
update omr-quota to up the interface when its usage is below threshold (#309)
Existing condition for the upping the interface asks for all 3 checks to have positive values (RX, TX and TT). However this is not necessary as some can be set to 0 to disable the check.

This modification makes sure that if the above checks for RX, TX and TT values have failed, thus the usage is still below the set quota, the interface is set to be up.

Thanks to this modification its possible to set only one check positive (e.g. TT) and let the script automatically down and up the interface as expected.
2024-03-25 12:14:55 +01:00
..
files update omr-quota to up the interface when its usage is below threshold (#309) 2024-03-25 12:14:55 +01:00
Makefile Use vnstat2 2020-03-27 10:23:01 +01:00