Source-Changes-HG archive

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

[src/netbsd-1-5]: src/etc/rc.d pullup rev. 1.16 from trunk (approved by thorp...



details:   https://anonhg.NetBSD.org/src/rev/b93148f36548
branches:  netbsd-1-5
changeset: 488714:b93148f36548
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Jul 25 19:12:20 2000 +0000

description:
pullup rev. 1.16 from trunk (approved by thorpej):
for ifaliases, add some comments about format without netmask beeing supported
for compatibility only

diffstat:

 etc/rc.d/network |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 16d1a008ad99 -r b93148f36548 etc/rc.d/network
--- a/etc/rc.d/network  Tue Jul 25 14:58:41 2000 +0000
+++ b/etc/rc.d/network  Tue Jul 25 19:12:20 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: network,v 1.11.4.1 2000/06/20 17:53:32 itojun Exp $
+# $NetBSD: network,v 1.11.4.2 2000/07/25 19:12:20 jdolecek Exp $
 #
 
 # PROVIDE: network
@@ -151,6 +151,7 @@
                        while [ $# -ge 2 ]; do
                                addr=$1 ; net=$2 ; shift 2
                                if [ "$net" = "-" ]; then
+                                       # for compatibility only, obsolete
                                        ifconfig $int inet alias $addr
                                else
                                        ifconfig $int inet alias $addr \
@@ -178,6 +179,7 @@
                fi
                while read addr int net; do
                        if [ -z "$net" ]; then
+                               # for compatibility only, obsolete
                                ifconfig $int inet alias $addr
                        else
                                ifconfig $int inet alias $addr netmask $net



Home | Main Index | Thread Index | Old Index