mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
mwan3: close flock fd when starting mwan3.user scripts
Fixes deadlock with multiple init script calls Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
committed by
Florian Eckert
parent
f60ea9a7fb
commit
619629ce85
@@ -20,7 +20,7 @@
|
||||
}
|
||||
|
||||
[ -x /etc/mwan3.user ] || chmod 755 /etc/mwan3.user
|
||||
env -i ACTION="$ACTION" INTERFACE="$INTERFACE" DEVICE="$DEVICE" /etc/mwan3.user
|
||||
env -i ACTION="$ACTION" INTERFACE="$INTERFACE" DEVICE="$DEVICE" /etc/mwan3.user 1000>&-
|
||||
}
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user