mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Ticket #1677 fixes
This commit is contained in:
parent
26f84e226b
commit
16b671e215
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user