mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Ticket #4442 Do not process URL aliases during bootup but trigger it just after finished booting. This completely solves the bootup delays without lowering the timeout as before. Probably need to increase a bit the timeouts now to be friendly to other connections
This commit is contained in:
parent
8c9216d5f2
commit
0d44aca646
@ -1447,6 +1447,9 @@ function alias_expand_urltable($name) {
|
||||
$urltable_prefix = "/var/db/aliastables/";
|
||||
$urltable_filename = $urltable_prefix . $name . ".txt";
|
||||
|
||||
if (platform_booting())
|
||||
return;
|
||||
|
||||
if (is_array($config['aliases']['alias'])) {
|
||||
foreach ($config['aliases']['alias'] as $alias) {
|
||||
if (preg_match("/urltable/i", $alias['type']) && ($alias['name'] == $name)) {
|
||||
|
||||
@ -448,9 +448,7 @@ unset($g['booting']);
|
||||
if ($ipsec_dynamic_hosts) {
|
||||
vpn_ipsec_configure();
|
||||
}
|
||||
if ($ipsec_dynamic_hosts || !empty($filterdns)) {
|
||||
filter_configure();
|
||||
}
|
||||
filter_configure();
|
||||
|
||||
led_normalize();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user