Source-Changes-HG archive

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

[src/trunk]: src/etc/rc.d print something before sleeping so that a user like...



details:   https://anonhg.NetBSD.org/src/rev/11d33179c956
branches:  trunk
changeset: 782411:11d33179c956
user:      yamt <yamt%NetBSD.org@localhost>
date:      Fri Nov 02 08:36:13 2012 +0000

description:
print something before sleeping so that a user like me can see
what the mysterious pause is.

diffstat:

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

diffs (29 lines):

diff -r 85bb93496b07 -r 11d33179c956 etc/rc.d/network
--- a/etc/rc.d/network  Fri Nov 02 08:33:16 2012 +0000
+++ b/etc/rc.d/network  Fri Nov 02 08:36:13 2012 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: network,v 1.61 2010/09/26 18:52:04 apb Exp $
+# $NetBSD: network,v 1.62 2012/11/02 08:36:13 yamt Exp $
 #
 
 # PROVIDE: network
@@ -380,6 +380,8 @@
                # wait till DAD is completed. always invoke it in case
                # if are configured manually by ifconfig
                #
+               echo 'Waiting for DAD completion for' \
+                   'statically configured addresses...'
                dadcount=$(/sbin/sysctl -n net.inet6.ip6.dad_count 2>/dev/null)
                sleep $dadcount
                sleep 1
@@ -397,6 +399,8 @@
                        # wait till DAD is completed, for global addresses
                        # configured by router advert message.
                        #
+                       echo 'Waiting for DAD completion for' \
+                           'addresses configured by router advert message...'
                        sleep $dadcount
                        sleep 1
                fi



Home | Main Index | Thread Index | Old Index