From: Aaron Goodman Date: Tue, 1 Sep 2020 23:20:41 +0000 (-0400) Subject: mwan3: only update src_iface rules on ifup X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=189f92da4af7d6c4ea9bc683d4a871f202a562c7;p=feed%2Fpackages.git mwan3: only update src_iface rules on ifup Signed-off-by: Aaron Goodman --- diff --git a/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 b/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 index 586dfc1f68..196b032574 100644 --- a/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 +++ b/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 @@ -37,7 +37,7 @@ mwan3_init mwan3_set_connected_${family} } -if [ "$MWAN3_STARTUP" != 1 ]; then +if [ "$MWAN3_STARTUP" != 1 ] && [ "$ACTION" = "ifup" ]; then mwan3_set_user_iface_rules $INTERFACE $DEVICE fi