mirror of
https://github.com/rsmarples/dhcpcd.git
synced 2025-01-21 07:25:19 +08:00
Improve the nohook documentation.
This commit is contained in:
parent
c347976204
commit
fc7ee23112
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user