Skip to content

Commit 49d2181

Browse files
committed
script: STOP should not set if_down=true
1 parent 7efcb06 commit 49d2181

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/script.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ make_env(struct dhcpcd_ctx *ctx, const struct interface *ifp,
420420
} else if (strcmp(reason, "TEST") == 0 ||
421421
strcmp(reason, "PREINIT") == 0 ||
422422
strcmp(reason, "CARRIER") == 0 ||
423+
strcmp(reason, "STOP") == 0 ||
423424
strcmp(reason, "UNKNOWN") == 0)
424425
{
425426
if_up = false_str;

0 commit comments

Comments
 (0)