summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-06 00:15:30 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-06 00:15:30 +0000
commit93e251a4ba67244d3629a551dea446f2e1e6fe37 (patch)
treed971ca130bfaaec1372b7b047eea98c228f5bd79 /etc/inc/interfaces.inc
parent66f59ea2df3a5b810d7bdfffca3b57106659b32f (diff)
downloadpfsense-93e251a4ba67244d3629a551dea446f2e1e6fe37.zip
pfsense-93e251a4ba67244d3629a551dea446f2e1e6fe37.tar.gz
Bring carp interfaces up under rc.bootup, not the filter process
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index e2f37d7..632368d 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -308,6 +308,14 @@ function interfaces_carp_configure() {
}
}
+function interfaces_carp_bringup() {
+ global $g, $config;
+ /* lets bring the carp interfaces up now */
+ $carp_ints = find_number_of_created_carp_interfaces();
+ for($x=0; $x<$carp_ints; $x++)
+ mwexec("/sbin/ifconfig carp{$carp_instances_counter} up");
+}
+
function interfaces_wireless_configure($if, $wlcfg) {
global $config, $g;
OpenPOWER on IntegriCloud