summaryrefslogtreecommitdiffstats
path: root/hooks
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-01-21 22:35:31 +0000
committerRoy Marples <roy@marples.name>2020-01-21 22:35:31 +0000
commitb7351730bfba82a27a3ce542a2c36564405a6baf (patch)
tree5e499291c51a7336c96c72d2396a8af4d06781c5 /hooks
parentb2888271d79d39d972db7746f5d4ecdcf1372586 (diff)
downloaddhcpcd-b7351730bfba82a27a3ce542a2c36564405a6baf.tar.xz
privsep: Note CHROOT script
While here make BUILDING.md match reality and fix a warning compiling without privsep.
Diffstat (limited to 'hooks')
-rw-r--r--hooks/dhcpcd-run-hooks.8.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/hooks/dhcpcd-run-hooks.8.in b/hooks/dhcpcd-run-hooks.8.in
index af2f78ce..7cf17ed1 100644
--- a/hooks/dhcpcd-run-hooks.8.in
+++ b/hooks/dhcpcd-run-hooks.8.in
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2006-2018 Roy Marples
+.\" Copyright (c) 2006-2020 Roy Marples
.\" All rights reserved
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd February 20, 2018
+.Dd January 21, 2020
.Dt DHCPCD-RUN-HOOKS 8
.Os
.Sh NAME
@@ -69,6 +69,7 @@ is set to the interface that
is run on and
.Ev $reason
is to the reason why
+q
.Nm
was invoked.
DHCP information to be configured is held in variables starting with the word
@@ -83,6 +84,8 @@ Here's a list of reasons why
.Nm
could be invoked:
.Bl -tag -width EXPIREXXXEXPIRE6
+.It Dv CHROOT
+dhcpcd is starting up and needs to configure a chroot environment.
.It Dv PREINIT
dhcpcd is starting up and any pre-initialisation should be done.
.It Dv CARRIER
@@ -150,6 +153,10 @@ and
The following variables will then be set, along with any protocol supplied
ones.
.Bl -tag -width xnew_delegated_dhcp6_prefix
+.It Ev $chroot
+the directory where
+.Nm dhcpcd
+is chrooted.
.It Ev $interface
the name of the interface.
.It Ev $protocol