Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/ifwatchd Sort options, fix a typo, and some minor c...



details:   https://anonhg.NetBSD.org/src/rev/c32aac9441a5
branches:  trunk
changeset: 519064:c32aac9441a5
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Dec 10 15:04:51 2001 +0000

description:
Sort options, fix a typo, and some minor clean-up.

diffstat:

 usr.sbin/ifwatchd/ifwatchd.8 |  36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diffs (78 lines):

diff -r 8a16a4e1b97c -r c32aac9441a5 usr.sbin/ifwatchd/ifwatchd.8
--- a/usr.sbin/ifwatchd/ifwatchd.8      Mon Dec 10 14:54:09 2001 +0000
+++ b/usr.sbin/ifwatchd/ifwatchd.8      Mon Dec 10 15:04:51 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ifwatchd.8,v 1.3 2001/12/10 14:54:09 martin Exp $
+.\" $NetBSD: ifwatchd.8,v 1.4 2001/12/10 15:04:51 wiz Exp $
 .\"
 .\" Copyright (C) 2001 by Martin Husemann
 .\" All rights reserved.
@@ -29,17 +29,17 @@
 .Dt IFWATCHD 8
 .Sh NAME
 .Nm ifwatchd
-.Nd watch for addresses added to or deleted from interfaces and call up/down scripts for them
+.Nd "watch for addresses added to or deleted from interfaces and call up/down-scripts for them"
 .Sh SYNOPSIS
 .Nm
+.Op Fl d Ar down-script
 .Op Fl h
-.Op Fl v
 .Op Fl i
-.Op Fl d Ar down-script
 .Op Fl u Ar up-script
+.Op Fl v
 .Ar ifname(s)
 .Sh DESCRIPTION
-.Nm Ifwatchd
+.Nm
 is used to monitor dynamic interfaces (for example PPP interfaces) for address
 changes.  Sometimes these interfaces are accompanied by a daemon program, which
 can take care of running any necessary scripts (like
@@ -49,7 +49,7 @@
 but sometimes the interfaces run completely autonomously (like
 .Xr pppoe 8 ) .
 .Pp
-.Nm Ifwatchd
+.Nm
 provides a generic way to watch this type of changes.  It works by monitoring
 the routing socket and interpreting
 .Ql RTM_NEWADDR
@@ -70,6 +70,18 @@
 events (or: deletion of an address from an interface).
 .It Fl h
 Show the synopsis.
+.It Fl i
+Inhibit a call to the up-script on startup for all watched interfaces
+already marked up. If this option is not given,
+.Nm
+will check all watched interfaces on startup whether they are already marked
+up and, if they are, call the up-script with appropriate parameters.
+.Pp
+Since ifwatchd typically is started late in the system boot sequence, some
+of the monitored interfaces may already have come up when it finally starts,
+but their up-scripts have not been called. By default
+.Nm
+calls them on startup to account for this (and make the scripts easier.)
 .It Fl u Ar up-script
 Specify the command to invoke on
 .Dq interface up
@@ -80,18 +92,6 @@
 .It Ar ifname(s)
 The name of the interface to watch.  Multiple interfaces may be specified.
 Events for other interfaces are ignored.
-.It Fl i
-Inhibit a call to the up-script on startup for all watched interfaces
-already marked up. If this option is not given,
-.Nm
-will check all watched interfaces on startup whether they are already marked
-up and, if they are, call the up script with appropriate parameters.
-.Pp
-Since ifwatchd typically is started late in the system boot sequence, some
-of the monitored interfaces may already have come up when it finaly starts,
-but their up scripts have not been called. By default
-.Nm
-calls them on startup to account for this (and make the scripts easier.)
 .El
 .Sh EXAMPLES
 .Bd -literal -offset indent



Home | Main Index | Thread Index | Old Index