Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.sbin/dhcp/client Pullup 1.7 [taca]:



details:   https://anonhg.NetBSD.org/src/rev/99b87a906d72
branches:  netbsd-1-5
changeset: 489766:99b87a906d72
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Oct 17 01:28:52 2000 +0000

description:
Pullup 1.7 [taca]:
- replace DBDIR, ETCDIR and RUNDIR with /var/db, /etc, /var/run.
  Original dhcp package, those strings are replaced with real pathname
  when creating catman files.  Since we install man files, those strings
  should be replaced with real pathname.

diffstat:

 usr.sbin/dhcp/client/dhclient-script.8 |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r ff7196b3d8ed -r 99b87a906d72 usr.sbin/dhcp/client/dhclient-script.8
--- a/usr.sbin/dhcp/client/dhclient-script.8    Tue Oct 17 01:23:49 2000 +0000
+++ b/usr.sbin/dhcp/client/dhclient-script.8    Tue Oct 17 01:28:52 2000 +0000
@@ -38,10 +38,10 @@
 the actual client may work, so a pioneering user may well need to create
 a new script or modify an existing one.  In general, customizations specific
 to a particular computer should be done in the
-.B ETCDIR/dhclient.conf
+.B /etc/dhclient.conf
 file.   If you find that you can't make such a customization without
 customizing
-.B ETCDIR/dhclient.conf
+.B /etc/dhclient.conf
 or using the enter and exit hooks, please submit a bug report.
 .SH HOOKS
 When it starts, the client script first defines a shell function,
@@ -53,20 +53,20 @@
 .PP
 On after defining the make_resolv_conf function, the client script checks
 for the presence of an executable
-.B ETCDIR/dhclient-enter-hooks
+.B /etc/dhclient-enter-hooks
 script, and if present, it invokes the script inline, using the Bourne
 shell '.' command.   The entire environment documented under OPERATION
 is available to this script, which may modify the environment if needed
 to change the behaviour of the script.   If an error occurs during the
 execution of the script, it can set the exit_status variable to a nonzero
 value, and
-.B ETCDIR/dhclient-script
+.B /etc/dhclient-script
 will exit with that error code immediately after the client script exits.
 .PP
 After all processing has completed,
-.B ETCDIR/dhclient-script
+.B /etc/dhclient-script
 checks for the presence of an executable
-.B ETCDIR/dhclient-exit-hooks
+.B /etc/dhclient-exit-hooks
 script, which if present is invoked using the '.' command.   The exit status
 is passed in the exit_status shell variable, and will always be zero if the
 script succeeded at the task for which it was invoked.



Home | Main Index | Thread Index | Old Index