diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-22 01:04:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-22 01:04:54 +0000 |
commit | 2d1e01b0b41d8b8555f6af6b157a266d49fb48e5 (patch) | |
tree | db460ac4972d2d80247a2b934c99417de58d97a3 /etc | |
parent | 9123cef8ffb711f8ec9171fed77b6092de0c458e (diff) | |
download | pfsense-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')
-rw-r--r-- | etc/inc/interfaces.inc | 9 |
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 |