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

Fix enabled check

This commit is contained in:
Ycarus 2018-05-25 22:00:24 +02:00
parent 3a90415d07
commit af4d5483fa
2 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ _launch_quota() {
interface=$1
[ -z "$txquota" ] && [ -z "$rxquota" ] && [ -z "$ttquota" ] && return
[ $enabled = 0 ] && return
[ "$enabled" = "0" ] && return
[ "$(uci get vnstat.@vnstat[-1].interface | grep $interface)" = "" ] && {
uci -q batch <<-EOF