mwan3: make it clearer who initiated the start

It was somewhat opaque how the variable a is questioned. To show this
better the variable is now a string and not a boolean. So you can see
directly what should happen. With a boolean you always have to think
about what it means when 0 or 1 is used.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2020-11-04 16:24:55 +01:00
parent 59d12598b5
commit 1f1d21ed28
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ ifup() {
exit 0
fi
mwan3_ifup "$1"
mwan3_ifup "$1" "cmd"
}
interfaces()