Source-Changes-HG archive

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

[src/trunk]: src/etc/rc.d minor cleanup. add note to why syslogd is here (a l...



details:   https://anonhg.NetBSD.org/src/rev/a2c3bf3e5722
branches:  trunk
changeset: 509088:a2c3bf3e5722
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Apr 26 03:54:38 2001 +0000

description:
minor cleanup. add note to why syslogd is here (a la note in ppp)

diffstat:

 etc/rc.d/isdnd |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 309b6c65a316 -r a2c3bf3e5722 etc/rc.d/isdnd
--- a/etc/rc.d/isdnd    Thu Apr 26 03:23:18 2001 +0000
+++ b/etc/rc.d/isdnd    Thu Apr 26 03:54:38 2001 +0000
@@ -1,10 +1,14 @@
 #!/bin/sh
 #
-# $NetBSD: isdnd,v 1.3 2001/01/08 12:45:40 martin Exp $
+# $NetBSD: isdnd,v 1.4 2001/04/26 03:54:38 lukem Exp $
 #
 
 # PROVIDE: isdnd
 # REQUIRE: NETWORK syslogd mountcritremote
+#
+#      Note that this means that syslogd will not be listening on
+#      any isdn addresses.  This is considered a feature.
+#
 
 . /etc/rc.subr
 
@@ -27,15 +31,15 @@
        # down them (for symetry, and effectively they are down).
 
        case "$_arg" in
-         start)
+       start)
                ifflag="-d"
                ifcmd="up"
                ;;
-         stop)
+       stop)
                ifflag="-u"
                ifcmd="down"
                ;;
-         *)
+       *)
                exit 0
                ;;
        esac
@@ -63,4 +67,3 @@
                ifconfig $int $ifcmd
        done
 fi
-



Home | Main Index | Thread Index | Old Index