mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
net/mwan3: fix ipset generation in hotplug script with an lock
Fix critical section during hotplug events. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -12,7 +12,9 @@ if [ "$ACTION" == "ifup" ]; then
|
|||||||
[ -n "$DEVICE" ] || exit 3
|
[ -n "$DEVICE" ] || exit 3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mwan3_lock
|
||||||
mwan3_set_connected_iptables
|
mwan3_set_connected_iptables
|
||||||
|
mwan3_unlock
|
||||||
|
|
||||||
config_load mwan3
|
config_load mwan3
|
||||||
config_get enabled $INTERFACE enabled 0
|
config_get enabled $INTERFACE enabled 0
|
||||||
|
|||||||
Reference in New Issue
Block a user