summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJim Pryor <profjim@jimpryor.net>2009-08-11 14:04:50 +0200
committerJames Rayner <james@archlinux.org>2009-08-15 04:28:25 +0200
commit4ede76fb6a5ba81b92b0e3452e954d9eea431a74 (patch)
tree35a778707c544d6604a01aca3027df4924408f8a /man
parent4ebad5f88abda1b0788ef7ad3cd46d8cd8cfa6d7 (diff)
downloadnetctl-4ede76fb6a5ba81b92b0e3452e954d9eea431a74.tar.gz
netctl-4ede76fb6a5ba81b92b0e3452e954d9eea431a74.tar.xz
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 <profjim@jimpryor.net>
Diffstat (limited to 'man')
-rw-r--r--man/netcfg.88
1 files changed, 7 insertions, 1 deletions
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.