From 0c6ee8178911b4eac4b8ef03da24a9d68d1f648c Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 15 Dec 2005 00:05:43 +0000 Subject: Echo out when waiting to bring up carp final --- etc/inc/interfaces.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc/inc/interfaces.inc') diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 42c9ed7..095e3f1 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -444,6 +444,8 @@ function interfaces_carp_bring_up_final() { return; $carp_instances_counter = 0; $counter = 0; + if($g['booting']) + echo "Waiting for final CARP interface bringup..."; $supress = intval(`/sbin/sysctl net.inet.carp.suppress_preempt | cut -d" " -f2`); while($supress > 0) { sleep(2); @@ -451,6 +453,7 @@ function interfaces_carp_bring_up_final() { if($counter > 15) $supress = 0; $counter++; + echo "."; } sleep(45); foreach ($viparr as $vip) { @@ -466,6 +469,8 @@ function interfaces_carp_bring_up_final() { mwexec("/sbin/ifconfig carp" . $carp_instances_counter . " " . $vip['subnet'] . "/" . $vip['subnet_bits'] . " broadcast " . $broadcast_address . " vhid " . $vip['vhid'] . "{$carpdev} advskew " . $vip['advskew'] . $password); $carp_instances_counter++; } + if($g['booting']) + echo " done.\n"; } function interfaces_wireless_configure($if, $wlcfg) { -- cgit v1.1