mwan3: fix MWAN3_STARTUP caller
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 4 Dec 2020 10:42:37 +0000 (11:42 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 22 Dec 2020 07:38:30 +0000 (08:38 +0100)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/mwan3/files/etc/hotplug.d/iface/15-mwan3

index f9212a3a61a460d56bb097f55bc2fdd6072aeef6..32497a5a07ff760dc89906a93c66cbbef5a220a6 100644 (file)
@@ -19,7 +19,7 @@ if { [ "$ACTION" = "ifup" ] || [ "$ACTION" = "connected" ] ; } && [ -z "$DEVICE"
        exit 3
 fi
 
-[ "$MWAN3_STARTUP" = 1 ] || procd_lock
+[ "$MWAN3_STARTUP" = "init" ] || procd_lock
 
 config_load mwan3
 /etc/init.d/mwan3 running || {