comparison 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
comparison
equal deleted inserted replaced
5534:605f7f9a20c0 5535:a0d828e25482
360 return -1; 360 return -1;
361 } 361 }
362 return pid; 362 return pid;
363 } 363 }
364 364
365 ctx->options |= DHCPCD_UNPRIV | DHCPCD_FORKED; 365 ctx->options |= DHCPCD_FORKED;
366 if (ctx->fork_fd != -1) { 366 if (ctx->fork_fd != -1) {
367 close(ctx->fork_fd); 367 close(ctx->fork_fd);
368 ctx->fork_fd = -1; 368 ctx->fork_fd = -1;
369 } 369 }
370 pidfile_clean(); 370 pidfile_clean();