diff options
-rw-r--r-- | etc/inc/util.inc | 3 | ||||
-rwxr-xr-x | etc/rc.bootup | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index c4717b3..b546154 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -1551,6 +1551,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)) { diff --git a/etc/rc.bootup b/etc/rc.bootup index 7eca7f6..3cec5e2 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -459,9 +459,7 @@ unset($g['booting']); if ($ipsec_dynamic_hosts) { vpn_ipsec_configure(); } -if ($ipsec_dynamic_hosts || !empty($filterdns)) { - filter_configure(); -} +filter_configure(); led_normalize(); |