Ticket #1677 fixes

This commit is contained in:
Scott Ullrich 2008-05-17 20:41:14 +00:00
parent 26f84e226b
commit 16b671e215

View File

@ -506,6 +506,14 @@ function interfaces_carp_bring_up_final() {
/* could not locate an array, return */
if(!is_array($viparr))
return;
$havecarp = false;
foreach ($viparr as $vip) {
/* bail if this isn't a carp VIP */
if ($vip['mode'] == "carp")
$havecarp = true;
}
if($havecarp == false)
return;
$carp_instances_counter = 0;
$counter = 0;
if($g['booting'])
@ -520,10 +528,6 @@ function interfaces_carp_bring_up_final() {
$counter++;
echo ".";
}
for($x=0; $x<23; $x++) {
sleep(2);
echo ".";
}
echo " done.\n";
}
foreach ($viparr as $vip) {