aboutsummaryrefslogtreecommitdiff
path: root/net/mwan3/files/etc/hotplug.d/iface
diff options
context:
space:
mode:
authorAaron Goodman <aaronjg@stanford.edu>2020-12-28 20:09:08 -0500
committerAaron Goodman <aaronjg@stanford.edu>2021-01-02 21:37:37 -0500
commit267b65ad9f74c854e790f0771e280b763df5f07e (patch)
treec5bb26aeb84abbc5ce57796523b0c2900f062dd0 /net/mwan3/files/etc/hotplug.d/iface
parentc255a9208a75d392f3254f9ae591a0e2e6c4dd53 (diff)
mwan3: fix regression in ipv6 routing tables
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
Diffstat (limited to 'net/mwan3/files/etc/hotplug.d/iface')
-rw-r--r--net/mwan3/files/etc/hotplug.d/iface/15-mwan35
1 files changed, 2 insertions, 3 deletions
diff --git a/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 b/net/mwan3/files/etc/hotplug.d/iface/15-mwan3
index 32497a5a0..e00cbfa5c 100644
--- a/net/mwan3/files/etc/hotplug.d/iface/15-mwan3
+++ b/net/mwan3/files/etc/hotplug.d/iface/15-mwan3
@@ -21,7 +21,8 @@ fi
[ "$MWAN3_STARTUP" = "init" ] || procd_lock
-config_load mwan3
+mwan3_init
+
/etc/init.d/mwan3 running || {
[ "$MWAN3_STARTUP" = "init" ] || procd_lock
LOG notice "mwan3 hotplug $ACTION on $INTERFACE not called because globally disabled"
@@ -34,8 +35,6 @@ $IPT4 -S mwan3_hook &>/dev/null || {
exit 0
}
-mwan3_init
-
if [ "$MWAN3_STARTUP" != "init" ] && [ "$ACTION" = "ifup" ]; then
mwan3_set_user_iface_rules $INTERFACE $DEVICE
fi