summaryrefslogtreecommitdiffstats
path: root/dhcpcd-run-hooks.8.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-12 17:14:45 +0000
committerRoy Marples <roy@marples.name>2008-07-12 17:14:45 +0000
commit9a7c3c8ed957d3e8ea4a6e92add49e21db0b003c (patch)
tree4df186c37f40bf03d9aed3218af39bc7ad9d4856 /dhcpcd-run-hooks.8.in
parent7e7d301b8f5d0f72f78790aabc2eb3325d88bfc9 (diff)
downloaddhcpcd-9a7c3c8ed957d3e8ea4a6e92add49e21db0b003c.tar.xz
Allow a user defined enter and exit hook instead of just a single hook.
Diffstat (limited to 'dhcpcd-run-hooks.8.in')
-rw-r--r--dhcpcd-run-hooks.8.in15
1 files changed, 9 insertions, 6 deletions
diff --git a/dhcpcd-run-hooks.8.in b/dhcpcd-run-hooks.8.in
index a5452030..ef762d66 100644
--- a/dhcpcd-run-hooks.8.in
+++ b/dhcpcd-run-hooks.8.in
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 21, 2008
+.Dd Jul 12, 2008
.Dt DHCPCD.SH 8 SMM
.Sh NAME
.Nm dhcpcd-run-hooks
@@ -31,11 +31,13 @@
.Nm
is used by
.Xr dhcpcd 8
-to run any system or user defined hook scripts.
+to run any system and user defined hook scripts.
System hook scripts are found in
.Pa @HOOKDIR@
-and the user defined hook is
-.Pa @SYSCONFDIR@/dhcpcd.hook .
+and the user defined hooks are
+.Pa @SYSCONFDIR@/dhcpcd.enter-hook .
+and
+.Pa @SYSCONFDIR@/dhcpcd.exit-hook .
The default install supplies hook scripts for configuring
.Pa /etc/resolv.conf
and the hostname.
@@ -93,10 +95,11 @@ script to process them.
When
.Nm
runs, it loads
-.Pa @SYSCONFDIR@/dhcpcd.hook
+.Pa @SYSCONFDIR@/dhcpcd.enter-hook
and any scripts found in
.Pa @HOOKDIR@
-in a lexical order.
+in a lexical order and then finally
+.Pa @SYSCONFDIR@/dhcpcd.exit-hook
.Sh SEE ALSO
.Xr dhcpcd 8
.Sh AUTHORS