summaryrefslogtreecommitdiffstats
path: root/share/examples/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-05-08 08:58:57 +0000
committerbrian <brian@FreeBSD.org>2001-05-08 08:58:57 +0000
commit211ed6f8ba4c86a6625418c771e085b4507b5b71 (patch)
tree1c985ecba3688561e8b62a13ec2293e74469b267 /share/examples/ppp
parentd7ab9ca02d9cfdc1097f6c00b88d9f832de378db (diff)
downloadFreeBSD-src-211ed6f8ba4c86a6625418c771e085b4507b5b71.zip
FreeBSD-src-211ed6f8ba4c86a6625418c771e085b4507b5b71.tar.gz
Be a little clearer all characters after a # are ignored unless the
# is escaped or quoted. Add an example of # characters as part of a phone number. PR: 26605
Diffstat (limited to 'share/examples/ppp')
-rw-r--r--share/examples/ppp/ppp.conf.sample14
1 files changed, 10 insertions, 4 deletions
diff --git a/share/examples/ppp/ppp.conf.sample b/share/examples/ppp/ppp.conf.sample
index a503e5a..236cdaf 100644
--- a/share/examples/ppp/ppp.conf.sample
+++ b/share/examples/ppp/ppp.conf.sample
@@ -10,10 +10,11 @@
# This file is separated into sections. Each section is named with
# a label starting in column 0 and followed directly by a ``:''. The
-# section continues until the next section. Blank lines and lines
-# beginning with ``#'' are ignored. All commands inside sections that do
-# not begin with ``!'' (e.g., ``!include'') *must* be indented by at least
-# one space or tab or they will not be recognized!
+# section continues until the next label. Blank lines and characters
+# after a ``#'' are ignored (a literal ``#'' must be escaped with a ``\''
+# or quoted with ""). All commands inside sections that do not begin
+# with ``!'' (e.g., ``!include'') *must* be indented by at least one
+# space or tab or they will not be recognized!
#
# Lines beginning with "!include" will ``include'' another file. You
# may want to ``!include ~/.ppp.conf'' for backwards compatibility.
@@ -131,6 +132,11 @@ examples:
#
set phone 12345678|12345679:12345670|12345671
#
+# Some phone numbers may include # characters - don't forget to escape
+# (or quote) them:
+#
+ set phone "12345##678"
+#
# Ppp can accept control instructions from the ``pppctl'' program.
# First, you must set up your control socket. It's safest to use
# a UNIX domain socket, and watch the permissions:
OpenPOWER on IntegriCloud