summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ppp.8.m4
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-10-19 15:21:09 +0000
committerbrian <brian@FreeBSD.org>1999-10-19 15:21:09 +0000
commit39e862702cb354c8fc1e7409caac87dbe04262b6 (patch)
treeba173d916e21466c26e400811308058ee15e4c7c /usr.sbin/ppp/ppp.8.m4
parentcaa1d925297044819d7dd7fd4dbc629042fc4d0f (diff)
downloadFreeBSD-src-39e862702cb354c8fc1e7409caac87dbe04262b6.zip
FreeBSD-src-39e862702cb354c8fc1e7409caac87dbe04262b6.tar.gz
Add the -unit command line switch for specifying the tun device.
Warn about -alias being depricated (but still allow it). Don't moan twice about failing to open any tun device. Fix a diagnostic and add the -quiet switch to the usage message.
Diffstat (limited to 'usr.sbin/ppp/ppp.8.m4')
-rw-r--r--usr.sbin/ppp/ppp.8.m418
1 files changed, 17 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp.8.m4
index 79f6802..4970a1b 100644
--- a/usr.sbin/ppp/ppp.8.m4
+++ b/usr.sbin/ppp/ppp.8.m4
@@ -8,9 +8,10 @@
.Nd Point to Point Protocol (a.k.a. user-ppp)
.Sh SYNOPSIS
.Nm
+.Op Fl Va mode
.Op Fl nat
.Op Fl quiet
-.Op Fl Va mode
+.Op Fl unit Ns Ar N
.Op Ar system Ns
.No ...
.Sh DESCRIPTION
@@ -48,6 +49,21 @@ flag tells
to be silent at startup rather than displaying the mode and interface
to standard output.
.Pp
+The
+.Fl unit
+flag tells
+.Nm
+to only attempt to open
+.Pa /dev/tun Ns Ar N .
+Normally,
+.Nm
+will start with a value of 0 for
+.Ar N ,
+and keep trying to open a tunnel device by incrementing the value of
+.Ar N
+by one each time until it succeeds. If it fails three times in a row
+because the device file is missing, it gives up.
+.Pp
The following
.Va mode Ns No s
are understood by
OpenPOWER on IntegriCloud