Browse Source

mwan3: remove lock file entirely

Removing the lock file ist not necessary

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
lilik-openwrt-22.03
Florian Eckert 4 years ago
parent
commit
ab747fe0fb
2 changed files with 0 additions and 5 deletions
  1. +0
    -4
      net/mwan3/files/lib/mwan3/mwan3.sh
  2. +0
    -1
      net/mwan3/files/usr/sbin/mwan3

+ 0
- 4
net/mwan3/files/lib/mwan3/mwan3.sh View File

@ -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


+ 0
- 1
net/mwan3/files/usr/sbin/mwan3 View File

@ -210,7 +210,6 @@ stop()
mwan3_unlock "command" "mwan3"
mwan3_lock_clean
rm -rf $MWAN3_STATUS_DIR $MWAN3TRACK_STATUS_DIR
}


Loading…
Cancel
Save