From: Roy Marples Date: Mon, 5 Jan 2009 15:52:08 +0000 (+0000) Subject: Improve the nohook documentation. X-Git-Tag: v5.0.0~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc7ee2311271864cf9154e8db6812a9048687acb;p=thirdparty%2Fdhcpcd.git Improve the nohook documentation. --- diff --git a/dhcpcd.8.in b/dhcpcd.8.in index ac0be091..a3a14907 100644 --- a/dhcpcd.8.in +++ b/dhcpcd.8.in @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd January 1, 2009 +.Dd January 5, 2009 .Dt DHCPCD 8 SMM .Sh NAME .Nm dhcpcd @@ -401,7 +401,9 @@ Don't run this hook script. Matches full name, or prefixed with 2 numbers optionally ending with .Pa .sh . .Pp -So to stop dhcpcd from touching your DNS or MTU settings you would do:- +So to stop +.Nm +from touching your DNS or MTU settings you would do:- .D1 dhcpcd -C resolv.conf -C mtu eth0 .It Fl G , -nogateway Don't set any default routes. diff --git a/dhcpcd.conf.5.in b/dhcpcd.conf.5.in index 56090c48..629a948a 100644 --- a/dhcpcd.conf.5.in +++ b/dhcpcd.conf.5.in @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd January 1, 2009 +.Dd January 5, 2009 .Dt DHCPCD.CONF 5 SMM .Sh NAME .Nm dhcpcd.conf @@ -127,6 +127,11 @@ Don't install any default routes. Don't run this hook script. Matches full name, or prefixed with 2 numbers optionally ending with .Pa .sh . +.Pp +So to stop +.Nm dhcpcd +from touching your DNS or MTU settings you would do:- +.D1 nohook resolv.conf, mtu .It Ic noipv4ll Don't attempt to obtain an IPv4LL address if we failed to get one via DHCP. See