From: Florian Eckert Date: Mon, 27 Jul 2020 07:02:40 +0000 (+0200) Subject: mwan3: remove lock file entirely X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ab747fe0fb3b60c0bd42ea2c4fc045273eb46f6f;p=feed%2Fpackages.git mwan3: remove lock file entirely Removing the lock file ist not necessary Signed-off-by: Florian Eckert --- diff --git a/net/mwan3/files/lib/mwan3/mwan3.sh b/net/mwan3/files/lib/mwan3/mwan3.sh index ab21ad3b2e..3c7422dc0b 100644 --- a/net/mwan3/files/lib/mwan3/mwan3.sh +++ b/net/mwan3/files/lib/mwan3/mwan3.sh @@ -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 diff --git a/net/mwan3/files/usr/sbin/mwan3 b/net/mwan3/files/usr/sbin/mwan3 index dc65279bec..79a0eba257 100755 --- a/net/mwan3/files/usr/sbin/mwan3 +++ b/net/mwan3/files/usr/sbin/mwan3 @@ -210,7 +210,6 @@ stop() mwan3_unlock "command" "mwan3" - mwan3_lock_clean rm -rf $MWAN3_STATUS_DIR $MWAN3TRACK_STATUS_DIR }