summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-22 01:04:54 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-22 01:04:54 +0000
commit2d1e01b0b41d8b8555f6af6b157a266d49fb48e5 (patch)
treedb460ac4972d2d80247a2b934c99417de58d97a3 /etc/inc/interfaces.inc
parent9123cef8ffb711f8ec9171fed77b6092de0c458e (diff)
downloadpfsense-2d1e01b0b41d8b8555f6af6b157a266d49fb48e5.zip
pfsense-2d1e01b0b41d8b8555f6af6b157a266d49fb48e5.tar.gz
* Output . for all sleep()
* Notify when done * No need to create interface again, it already exists
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc9
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index f22b870..0e007ef 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -474,12 +474,15 @@ function interfaces_carp_bring_up_final() {
$counter++;
echo ".";
}
+ for($x=0; $x<23; $x++) {
+ sleep(2);
+ echo ".";
+ }
+ echo " done.\n";
}
- sleep(45);
foreach ($viparr as $vip) {
if($debugging)
echo "Upping interface carp{$carp_instances_counter}.\n";
- mwexec("/sbin/ifconfig carp" . $carp_instances_counter . " create");
$broadcast_address = gen_subnet_max($vip['subnet'], $vip['subnet_bits']);
if($vip['password'] != "")
$password = " pass " . $vip['password'];
@@ -1503,4 +1506,4 @@ function discover_bridge($interface1, $interface2) {
return "-1";
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud