mwan3: add locking debug possibility

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2019-01-15 10:24:54 +01:00
parent d167e3718d
commit 2ff9c8ecb7
5 changed files with 13 additions and 11 deletions
+2
View File
@@ -163,9 +163,11 @@ mwan3_init()
mwan3_lock() {
lock /var/run/mwan3.lock
# $LOG debug "$1 $2 (lock)"
}
mwan3_unlock() {
# $LOG debug "$1 $2 (unlock)"
lock -u /var/run/mwan3.lock
}