diff src/privsep.c @ 5535:a0d828e25482 draft

Add --noconfigure option With this set dhcpcd will not configure anything on the host. The expectation is that a 3rd party script will instead.
author Roy Marples <roy@marples.name>
date Wed, 04 Nov 2020 14:18:48 +0000
parents 26b5d9bc2985
children fc24946f9b2a
line wrap: on
line diff
--- a/src/privsep.c	Wed Nov 04 11:31:40 2020 +1300
+++ b/src/privsep.c	Wed Nov 04 14:18:48 2020 +0000
@@ -362,7 +362,7 @@
 		return pid;
 	}
 
-	ctx->options |= DHCPCD_UNPRIV | DHCPCD_FORKED;
+	ctx->options |= DHCPCD_FORKED;
 	if (ctx->fork_fd != -1) {
 		close(ctx->fork_fd);
 		ctx->fork_fd = -1;