]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Improve the nohook documentation.
authorRoy Marples <roy@marples.name>
Mon, 5 Jan 2009 15:52:08 +0000 (15:52 +0000)
committerRoy Marples <roy@marples.name>
Mon, 5 Jan 2009 15:52:08 +0000 (15:52 +0000)
dhcpcd.8.in
dhcpcd.conf.5.in

index ac0be091f829a83a445f5eaf371dcc514346b958..a3a14907527305c8140e4a9d33cba8c28dc256da 100644 (file)
@@ -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.
index 56090c483a629c50a8c2c8cda0f5f7d7d90cdb6f..629a948a6757fcd73d03563c8efb2d21393e79d0 100644 (file)
@@ -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