summaryrefslogtreecommitdiffstats
path: root/dhcpcd.sh.8.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-05-21 09:16:24 +0000
committerRoy Marples <roy@marples.name>2008-05-21 09:16:24 +0000
commitbb44c154542784bcfb055f4b838fcb8facca50f8 (patch)
tree9d361dd28a4678124a494223fdeadcf86273fcf9 /dhcpcd.sh.8.in
parentd46cd932b092dcf0266dd5c6c3bfa4ec090c48cd (diff)
downloaddhcpcd-bb44c154542784bcfb055f4b838fcb8facca50f8.tar.xz
Improve documentation about the hooks.
Diffstat (limited to 'dhcpcd.sh.8.in')
-rw-r--r--dhcpcd.sh.8.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/dhcpcd.sh.8.in b/dhcpcd.sh.8.in
index 1b4406a1..903f0c4d 100644
--- a/dhcpcd.sh.8.in
+++ b/dhcpcd.sh.8.in
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 20, 2008
+.Dd May 21, 2008
.Dt DHCPCD.SH 8 SMM
.Sh NAME
.Nm dhcpcd.sh
@@ -31,9 +31,19 @@
.Nm
is used by
.Xr dhcpcd 8
-to run any system or user defined hook scripts, which include configuring
+to run any system or user defined hook scripts.
+System hook scripts are found in
+.Pa @HOOKDIR@
+and the user defined hook is
+.Pa @SYSCONFDIR@/dhcpcd.hook .
+The default install supplies hook scripts for configuring
.Pa /etc/resolv.conf
and the hostname.
+Your distribution may have included other hook scripts to say configure
+ntp or ypbind.
+A test hook is also supplied that simply echos the dhcp variables to the
+console from DISCOVER message.
+.Pp
Each time
.Nm
is invoked,