summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-08 17:43:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-08 17:43:14 +0000
commit9669a414f4c523e1816c7bcd70bd069876bf1a9c (patch)
tree6a362a73ca817f6e8fc420b09579560c12da13b8 /etc
parent3805f0b17426c19888533df14cdadd039685da1e (diff)
downloadpfsense-9669a414f4c523e1816c7bcd70bd069876bf1a9c.zip
pfsense-9669a414f4c523e1816c7bcd70bd069876bf1a9c.tar.gz
Assign carp the old way since we are now done debugging
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 9f074ab..e1551d6 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -407,15 +407,13 @@ function interfaces_carp_configure() {
if($debugging)
echo "Configuring carp{$carp_instances_counter}.\n";
fwrite($fd, "/sbin/ifconfig carp" . $carp_instances_counter . " " . $vip['subnet'] . "/" . $vip['subnet_bits'] . " broadcast " . $broadcast_address . " vhid " . $vip['vhid'] . "{$carpdev} advskew 200 " . $password . "\n");
- //mwexec("/sbin/ifconfig carp" . $carp_instances_counter . " " . $vip['subnet'] . "/" . $vip['subnet_bits'] . " broadcast " . $broadcast_address . " vhid " . $vip['vhid'] . "{$carpdev} advskew 200 " . $password);
+ mwexec("/sbin/ifconfig carp" . $carp_instances_counter . " " . $vip['subnet'] . "/" . $vip['subnet_bits'] . " broadcast " . $broadcast_address . " vhid " . $vip['vhid'] . "{$carpdev} advskew 200 " . $password);
if($g['booting'])
mwexec("/sbin/ifconfig carp" . $carp_instances_counter . " up");
$carp_instances_counter++;
}
}
mwexec("/bin/sh /tmp/carp.sh");
- sleep(5);
- mwexec("/bin/sh /tmp/carp.sh");
fclose($fd);
if ($g['booting']) {
unmute_kernel_msgs();
OpenPOWER on IntegriCloud