mwan3: remove lock file entirely
Removing the lock file ist not necessary
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit ab747fe0fb
)
This commit is contained in:
parent
520eeb0804
commit
138d02cfcb
2 changed files with 0 additions and 5 deletions
|
@ -203,10 +203,6 @@ mwan3_unlock() {
|
|||
lock -u /var/run/mwan3.lock
|
||||
}
|
||||
|
||||
mwan3_lock_clean() {
|
||||
rm -rf /var/run/mwan3.lock
|
||||
}
|
||||
|
||||
mwan3_get_iface_id()
|
||||
{
|
||||
local _tmp _iface _iface_count
|
||||
|
|
|
@ -210,7 +210,6 @@ stop()
|
|||
|
||||
mwan3_unlock "command" "mwan3"
|
||||
|
||||
mwan3_lock_clean
|
||||
rm -rf $MWAN3_STATUS_DIR $MWAN3TRACK_STATUS_DIR
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue