mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Bring carp interfaces up under rc.bootup, not the filter process
This commit is contained in:
parent
66f59ea2df
commit
93e251a4ba
@ -189,11 +189,6 @@ function filter_configure() {
|
||||
}
|
||||
}
|
||||
|
||||
/* 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");
|
||||
|
||||
if ($g['booting'])
|
||||
echo "Done\n";
|
||||
return 0;
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -116,6 +116,9 @@
|
||||
/* setup altq + pf */
|
||||
filter_configure();
|
||||
|
||||
/* bring up carp interfaces */
|
||||
interfaces_carp_bringup();
|
||||
|
||||
/* start OpenVPN server & clients */
|
||||
ovpn_configure();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user