summaryrefslogtreecommitdiffstats
path: root/dhcpcd.8.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-05-20 16:05:15 +0000
committerRoy Marples <roy@marples.name>2008-05-20 16:05:15 +0000
commit37156a6b53681b9ab70482b15358e0a86a08c74d (patch)
treef4adf7b5714d7f1057b16e11507c59dbf49997ce /dhcpcd.8.in
parent5f81be76fc605333ef92ecde09b093b1ebe5bd4d (diff)
downloaddhcpcd-37156a6b53681b9ab70482b15358e0a86a08c74d.tar.xz
Add a -C, --nohook option to skip the running of hook scripts. Makes it easier to just not do any configuring of resolv.conf
Diffstat (limited to 'dhcpcd.8.in')
-rw-r--r--dhcpcd.8.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/dhcpcd.8.in b/dhcpcd.8.in
index 8aed3798..af09b086 100644
--- a/dhcpcd.8.in
+++ b/dhcpcd.8.in
@@ -266,6 +266,13 @@ Here are some option that deal with turning these bits off.
Don't request or claim the address by ARP.
.It Fl G , -nogateway
Don't set any default routes.
+.It Ic nohook Ar script
+Don't run this hook script.
+Matches full name, or prefixed with 2 numbers optionally ending with .sh.
+Example for not running the hook script to configure
+.Pa /etc/resolv.conf :-
+.Nm
+-C resolv.conf
.It Fl L , -noipv4ll
Don't use IPv4LL at all.
.It Fl O , -nooption Ar option