diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-15 00:05:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-15 00:05:43 +0000 |
commit | 0c6ee8178911b4eac4b8ef03da24a9d68d1f648c (patch) | |
tree | 879992b251f59613e2a92833c8f0b4f769ae61fe /etc/inc/interfaces.inc | |
parent | fd958fd611211977ee8227db08387b11ec8ada18 (diff) | |
download | pfsense-0c6ee8178911b4eac4b8ef03da24a9d68d1f648c.zip pfsense-0c6ee8178911b4eac4b8ef03da24a9d68d1f648c.tar.gz |
Echo out when waiting to bring up carp final
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 5 |
1 files changed, 5 insertions, 0 deletions
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) { |