diff options
author | brooks <brooks@FreeBSD.org> | 2008-03-26 21:54:48 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2008-03-26 21:54:48 +0000 |
commit | dafcba3dbfc471eed7465489fa4d60bcecf47eb6 (patch) | |
tree | 402d02a5a05412d0bb800537d148fad7f271c218 /share | |
parent | 3cbe36127b9fdf1720c93eecf128486487a56c44 (diff) | |
download | FreeBSD-src-dafcba3dbfc471eed7465489fa4d60bcecf47eb6.zip FreeBSD-src-dafcba3dbfc471eed7465489fa4d60bcecf47eb6.tar.gz |
Allow the characters .-+/ to appear in ppp profile names by folding them
to _ when evaluating ppp_<profile>_nat and ppp_<profile>_mode. Document
the per-profile variables.
PR: conf/121452, conf/122127 (partial)
MFC after: 1 week
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/rc.conf.5 | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index 3c7b67a..b6cd48d 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -1315,11 +1315,30 @@ If set to run the .Xr ppp 8 daemon. +.It Va ppp_profile +.Pq Vt str +The name of the profile to use from +.Pa /etc/ppp/ppp.conf . +Also used for per-profile overrides of +.Va ppp_mode +and +.Va ppp_nat . +When the profile name contains any of the characters +.Dq Li .-/+ +they are translated to +.Dq Li _ +for the proposes of the override variable names. .It Va ppp_mode .Pq Vt str Mode in which to run the .Xr ppp 8 daemon. +.It Va ppp_ Ns Ao Ar profile Ac Ns _mode +.Pq Vt str +Overrides the global +.Va ppp_mode +for +.Ar profile . Accepted modes are .Dq Li auto , .Dq Li ddial , @@ -1336,10 +1355,12 @@ Used in conjunction with .Va gateway_enable allows hosts on private network addresses access to the Internet using this host as a network address translating router. -.It Va ppp_profile +.It Va ppp_ Ns Ao Ar profile Ac Ns _nat .Pq Vt str -The name of the profile to use from -.Pa /etc/ppp/ppp.conf . +Overrides the global +.Va ppp_nat +for +.Ar profile . .It Va ppp_user .Pq Vt str The name of the user under which |