Mercurial > hg > dhcpcd
diff src/dhcpcd.8.in @ 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 | b1a3d9055662 |
| children | a233fe729323 |
line wrap: on
line diff
--- a/src/dhcpcd.8.in Wed Nov 04 11:31:40 2020 +1300 +++ b/src/dhcpcd.8.in Wed Nov 04 14:18:48 2020 +0000 @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd October 30, 2020 +.Dd November 3, 2020 .Dt DHCPCD 8 .Os .Sh NAME @@ -62,6 +62,8 @@ .Op Fl Z , Fl Fl denyinterfaces Ar pattern .Op Fl z , Fl Fl allowinterfaces Ar pattern .Op Fl Fl inactive +.Op Fl Fl configure +.Op Fl Fl noconfigure .Op interface .Op ... .Nm @@ -737,6 +739,25 @@ to be started in Master mode and then wait for subsequent .Nm commands to start each interface as required. +.It Fl Fl configure +Allows +.Nm +to configure the system. +This is the default behaviour and sets +.Ev if_configured=true . +.It Fl Fl noconfigure +.Nm +will not configure the system add all. +This is only of use if the +.Fl Fl script +that +.Nm +calls at each network event configures the system instead. +This is different from +.Fl T , Fl Fl test +mode in that it's not one shot and the only change to the environment is the +addition of +.Ev if_configured=false . .It Fl Fl nodev Don't load any .Pa /dev
