mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
mwan3: add locking debug possibility
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user