diff options
author | brian <brian@FreeBSD.org> | 1997-11-09 17:51:27 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-11-09 17:51:27 +0000 |
commit | 59161ba72e6fdf26776f6ecd1b0c6e2f163fb186 (patch) | |
tree | 29ec5c26fc2e68e7fc68a670b77b59d6dc2afa7a /usr.sbin/ppp/ppp.8 | |
parent | 61fdf2fa6dba16e9069d05fc167888ed82c5093c (diff) | |
download | FreeBSD-src-59161ba72e6fdf26776f6ecd1b0c6e2f163fb186.zip FreeBSD-src-59161ba72e6fdf26776f6ecd1b0c6e2f163fb186.tar.gz |
Add the "!include" syntax.
Return 0 from "show" commands.
Diffstat (limited to 'usr.sbin/ppp/ppp.8')
-rw-r--r-- | usr.sbin/ppp/ppp.8 | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/usr.sbin/ppp/ppp.8 b/usr.sbin/ppp/ppp.8 index c5f20d9..c3eafe2 100644 --- a/usr.sbin/ppp/ppp.8 +++ b/usr.sbin/ppp/ppp.8 @@ -1,4 +1,4 @@ -.\" $Id: ppp.8,v 1.74 1997/11/09 06:22:46 brian Exp $ +.\" $Id: ppp.8,v 1.75 1997/11/09 13:18:51 brian Exp $ .Dd 20 September 1995 .Os FreeBSD .Dt PPP 8 @@ -350,25 +350,32 @@ See the example definitions in .Pa /etc/ppp/ppp.conf is pretty simple). -.Bl -bullet -compact - -.It -Each line contains one command, label or comment. +Each line contains one comment, inclusion, label or command: +.Bl -bullet -compact .It A line starting with a -.Sq # +.Pq Dq # character is treated as a comment line. .It +An inclusion is a line beginning with the word +.Sq !include . +It must have one argument - the file to include. You may wish to +.Dq !include ~/.ppp.conf +for compatibility with older versions of +.Nm ppp . + +.It A label name starts in the first column and is followed by -a colon (:). +a colon +.Pq Dq \&: . .It A command line must contain a space or tab in the first column. - .El +.Pp The .Pa /etc/ppp/ppp.conf file should consist of at least a @@ -423,12 +430,20 @@ connection is established. See the provided .Dq pmdemand example in .Pa /etc/ppp/ppp.conf.sample -which adds a default route. The string HISADDR is available as the IP -address of the remote peer. Similarly, when a connection is closed, the +which adds a default route. The strings +.Dv HISADDR , +.Dv MYADDR +and +.Dv INTERFACE +are available as the relevent IP addresses and interface name. +Similarly, when a connection is closed, the contents of the .Pa /etc/ppp/ppp.linkdown file are executed. +Both of these files have the same format as +.Pa /etc/ppp/ppp.conf . + .Sh BACKGROUND DIALING If you want to establish a connection using |