]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Clarify documentation of exit hooks.
authorTed Lemon <source@isc.org>
Thu, 15 Feb 2001 05:36:07 +0000 (05:36 +0000)
committerTed Lemon <source@isc.org>
Thu, 15 Feb 2001 05:36:07 +0000 (05:36 +0000)
client/dhclient-script.8

index 940aaa16a79885e2a1ba4db235edbb7b3437b348..c41f340679797058e510c63b886b4c5f137632ec 100644 (file)
@@ -67,9 +67,15 @@ After all processing has completed,
 .B ETCDIR/dhclient-script
 checks for the presence of an executable
 .B ETCDIR/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.
+script, which if present is invoked using the '.' command.  The exit
+status of dhclient-script will be passed to dhclient-exit-hooks in the
+exit_status shell variable, and will always be zero if the script
+succeeded at the task for which it was invoked.   The rest of the
+environment as described previously for dhclient-enter-hooks is also
+present.   The
+.B ETCDIR/dhclient-exit-hooks
+script can modify the valid of exit_status to change the exit status
+of dhclient-script.
 .SH OPERATION
 When dhclient needs to invoke the client configuration script, it
 writes a shell script into /tmp which defines a variety of variables.