Skip to content

Commit

Permalink
mwan3: close flock fd when starting mwan3.user scripts
Browse files Browse the repository at this point in the history
Fixes deadlock with multiple init script calls

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
  • Loading branch information
feckert committed Jul 29, 2024
1 parent 8d68f0b commit a53d967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/mwan3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=mwan3
PKG_VERSION:=2.11.13
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>, \
Aaron Goodman <aaronjg@alumni.stanford.edu>
PKG_LICENSE:=GPL-2.0
Expand Down
2 changes: 1 addition & 1 deletion net/mwan3/files/etc/hotplug.d/iface/16-mwan3-user
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a53d967

Please sign in to comment.