From: Roy Marples Date: Thu, 13 Nov 2025 11:19:38 +0000 (+0000) Subject: script: STOP should not set if_down=true X-Git-Tag: v10.3.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49d21813a3a6b64a21a7eb51c67deea934aa356b;p=thirdparty%2Fdhcpcd.git script: STOP should not set if_down=true --- diff --git a/src/script.c b/src/script.c index 0149aee9..51e7ccf2 100644 --- a/src/script.c +++ b/src/script.c @@ -420,6 +420,7 @@ make_env(struct dhcpcd_ctx *ctx, const struct interface *ifp, } else if (strcmp(reason, "TEST") == 0 || strcmp(reason, "PREINIT") == 0 || strcmp(reason, "CARRIER") == 0 || + strcmp(reason, "STOP") == 0 || strcmp(reason, "UNKNOWN") == 0) { if_up = false_str;