summaryrefslogtreecommitdiffstats
path: root/dhcpcd.sh.8.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-05-20 10:55:25 +0000
committerRoy Marples <roy@marples.name>2008-05-20 10:55:25 +0000
commitc61c4118d8a688f26a9bd53b061090aca5e45f66 (patch)
tree3d6ef2da241dcd8789f040bcbb45c534f4f65dc1 /dhcpcd.sh.8.in
parentf4456e160e165aff083d4c877361ff3e5069708f (diff)
downloaddhcpcd-c61c4118d8a688f26a9bd53b061090aca5e45f66.tar.xz
Split dhcpcd.sh into smaller hook scripts, so that dhcpcd.sh just provide some handy functions and runs the hooks. We now only have one hook, instead of enter/exit.
Diffstat (limited to 'dhcpcd.sh.8.in')
-rw-r--r--dhcpcd.sh.8.in19
1 files changed, 7 insertions, 12 deletions
diff --git a/dhcpcd.sh.8.in b/dhcpcd.sh.8.in
index ce8a575d..35683667 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 02, 2008
+.Dd May 20, 2008
.Dt DHCPCD.SH 8 SMM
.Sh NAME
.Nm dhcpcd.sh
@@ -31,9 +31,9 @@
.Nm
is used by
.Xr dhcpcd 8
-to configure
+to run any system or user defined hook scripts, which include configuring
.Pa /etc/resolv.conf
-and run any system or user defined hook scripts.
+and the hostname.
Each time
.Nm
is invoked,
@@ -78,18 +78,13 @@ interface. This is primarily used to test the variables are filled correctly
for the script to process them.
.El
.Sh FILES
-Before
+When
.Nm
runs, it loads
-.Pa @SYSCONFDIR@/dhcpcd-enter-hook
+.Pa @SYSCONFDIR@/dhcpcd-hook
and any scripts found in
-.Pa @SYSCONFDIR@/dhcpcd-enter-hook.d .
-Then it runs itself, configuring
-.Pa /etc/resolv.conf .
-Finally it loads
-.Pa @SYSCONFDIR@/dhcpcd-exit-hook
-and any scripts found in
-.Pa @SYSCONFDIR@/dhcpcd-exit-hook.d .
+.Pa @SYSCONFDIR@/dhcpcd-hook.d
+in a lexical order.
.Sh SEE ALSO
.Xr dhcpcd 8
.Sh AUTHORS