Module Name:    src
Committed By:   yamt
Date:           Fri Nov  2 08:36:13 UTC 2012

Modified Files:
        src/etc/rc.d: network

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


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/etc/rc.d/network

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/rc.d/network
diff -u src/etc/rc.d/network:1.61 src/etc/rc.d/network:1.62
--- src/etc/rc.d/network:1.61	Sun Sep 26 18:52:04 2010
+++ src/etc/rc.d/network	Fri Nov  2 08:36:13 2012
@@ -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 @@ network_start()
 		# 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 @@ network_start()
 			# 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

Reply via email to