mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not call filer_configure() if booting. set /tmp/filter_boot_dirty flag.
This commit is contained in:
parent
94fa383863
commit
e239df5a60
@ -119,8 +119,8 @@ function interfaces_lan_configure() {
|
||||
/* reconfigure static routes (kernel may have deleted them) */
|
||||
system_routing_configure();
|
||||
|
||||
/* reload ipfilter (address may have changed) */
|
||||
filter_configure();
|
||||
/* set the reload filter dity flag */
|
||||
touch("{$g['tmp_path']}/filter_boot_dirty");
|
||||
|
||||
/* reload IPsec tunnels */
|
||||
vpn_ipsec_configure();
|
||||
@ -156,8 +156,8 @@ function interfaces_optional_configure() {
|
||||
/* reconfigure static routes (kernel may have deleted them) */
|
||||
system_routing_configure();
|
||||
|
||||
/* reload ipfilter (address may have changed) */
|
||||
filter_configure();
|
||||
/* set the reload filter dity flag */
|
||||
touch("{$g['tmp_path']}/filter_boot_dirty");
|
||||
|
||||
/* reload IPsec tunnels */
|
||||
vpn_ipsec_configure();
|
||||
@ -466,8 +466,8 @@ function interfaces_wan_configure() {
|
||||
/* reconfigure static routes (kernel may have deleted them) */
|
||||
system_routing_configure();
|
||||
|
||||
/* reload ipfilter */
|
||||
filter_configure();
|
||||
/* set the reload filter dity flag */
|
||||
touch("{$g['tmp_path']}/filter_boot_dirty");
|
||||
|
||||
/* reload ipsec tunnels */
|
||||
vpn_ipsec_configure();
|
||||
|
||||
@ -267,7 +267,8 @@ function services_dhcrelay_configure() {
|
||||
mwexec($cmd);
|
||||
|
||||
if (!$g['booting']) {
|
||||
filter_configure();
|
||||
/* set the reload filter dity flag */
|
||||
touch("{$g['tmp_path']}/filter_boot_dirty");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
@ -699,8 +699,8 @@ EOD;
|
||||
}
|
||||
|
||||
if (!$g['booting']) {
|
||||
/* reload the filter */
|
||||
filter_configure();
|
||||
/* set the reload filter dity flag */
|
||||
touch("{$g['tmp_path']}/filter_boot_dirty");
|
||||
}
|
||||
|
||||
if ($g['booting'])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user