diff options
| author | Roy Marples <roy@marples.name> | 2008-05-21 09:16:24 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-05-21 09:16:24 +0000 |
| commit | bb44c154542784bcfb055f4b838fcb8facca50f8 (patch) | |
| tree | 9d361dd28a4678124a494223fdeadcf86273fcf9 /dhcpcd.sh.8.in | |
| parent | d46cd932b092dcf0266dd5c6c3bfa4ec090c48cd (diff) | |
| download | dhcpcd-bb44c154542784bcfb055f4b838fcb8facca50f8.tar.xz | |
Improve documentation about the hooks.
Diffstat (limited to 'dhcpcd.sh.8.in')
| -rw-r--r-- | dhcpcd.sh.8.in | 14 |
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, |
