Source-Changes-HG archive

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

[src/trunk]: src/share/examples/isdn Add an example for the new "autoupdown" ...



details:   https://anonhg.NetBSD.org/src/rev/0d3a81d56801
branches:  trunk
changeset: 525428:0d3a81d56801
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Apr 11 09:08:19 2002 +0000

description:
Add an example for the new "autoupdown" keyword.

diffstat:

 share/examples/isdn/isdnd.rc.sample |  22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)

diffs (42 lines):

diff -r d795907eb323 -r 0d3a81d56801 share/examples/isdn/isdnd.rc.sample
--- a/share/examples/isdn/isdnd.rc.sample       Thu Apr 11 08:49:48 2002 +0000
+++ b/share/examples/isdn/isdnd.rc.sample       Thu Apr 11 09:08:19 2002 +0000
@@ -3,9 +3,9 @@
 #      example of a configuration file for the isdn daemon
 #      ---------------------------------------------------
 #
-#      $Id: isdnd.rc.sample,v 1.3 2002/03/17 21:32:21 martin Exp $
+#      $Id: isdnd.rc.sample,v 1.4 2002/04/11 09:08:19 martin Exp $
 #
-# $NetBSD: isdnd.rc.sample,v 1.3 2002/03/17 21:32:21 martin Exp $
+# $NetBSD: isdnd.rc.sample,v 1.4 2002/04/11 09:08:19 martin Exp $
 #
 #      last edit-date: [Wed Jul 19 09:59:42 2000]
 #
@@ -95,9 +95,25 @@
 usrdevicename          = irip          # irip, ippp, isdntel, isdnbchan
 usrdeviceunit          = 0             # unit number
 
+autoupdown             = no            # If this entry is missing (or set
+                                       # to "yes") isdnd will mark the
+                                       # interface UP on startup, which
+                                       # may result in an imediate connection
+                                       # attempt (depending on network
+                                       # setup). If set to "no" this will
+                                       # not happen and a manual
+                                       #   ifconfig irip0 up
+                                       # will be needed to make the interface
+                                       # useable.
+                                       # Note: if there is no IP configure via
+                                       #   /etc/ifconfig.irip0
+                                       # isdnd will note the missing
+                                       # IP configuration and leave the
+                                       # interface alone.
+
                                        # the ISDN controller number to be
                                        # used for this entry:
-isdncontroller         = 0             # contoller to use or -1 to use any
+isdncontroller         = -1            # contoller to use or -1 to use any
 isdnchannel            = -1            # channel (1/2) to use or 0 or -1 for any
 
                                        # incoming only, outgoing only or both:



Home | Main Index | Thread Index | Old Index