From 4ede76fb6a5ba81b92b0e3452e954d9eea431a74 Mon Sep 17 00:00:00 2001 From: Jim Pryor Date: Tue, 11 Aug 2009 08:04:50 -0400 Subject: Add contrib dir and logging hooks * Add contrib/logging.hook * Update Makefile and manpage * Propose that hooks go into /etc, not /usr---latter should be shareable and possibly read-only, not good spot for user-configurable files like these. * Since we have hooks/arch as part of the package, this commit attempts to load hooks from both /usr/lib/network/hooks and /etc/network.d/hooks. (Executable hooks in /etc take precedence over hooks with same name from /usr.) * Need to load /etc/rc.conf before /etc/rc.d/functions (e.g. for USECOLORS) Signed-off-by: Jim Pryor --- man/netcfg.8 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/netcfg.8 b/man/netcfg.8 index f07e12a..97bfec2 100644 --- a/man/netcfg.8 +++ b/man/netcfg.8 @@ -1,4 +1,4 @@ -.TH NETCFG 8 "MAY 2007" "Arch Linux" "Network Scripts" +.TH NETCFG 8 "AUGUST 2009" "Arch Linux" "Network Scripts" .\" groff -man -Tascii foo.1 .SH NAME netcfg \- start/stop/control network profiles @@ -19,6 +19,9 @@ Start the specified profile, only if it's interface is not currently up. .B \-d, down \fIprofile\fP Stop the specified profile .TP +.B\-r, reconnect \fIprofile\fP +Disconnect and reconnect the specified profile +.TP .B \-i, iface-down \fBinterface\fP Stop the profile up on the specified interface. .TP @@ -44,6 +47,9 @@ Currently installed network profile types. .TP .I /etc/network.d/examples Example configurations for this script +.TP +.I /etc/network.d/hooks +See /usr/share/doc/netcfg/contrib for examples. .SH BUGS None, hopefully, but if you do find one of these elusive things, please submit at http://bugs.archlinux.org/ or email one of the authors below. -- cgit v1.2.3-24-g4f1b