diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-10-10 01:21:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-10-10 01:21:05 +0000 |
commit | a164b0ca92f9c7f855332f5e1c86c39675c1799d (patch) | |
tree | 1cfe5390f98bdc70eb1222cf31a3004af9dcc928 /etc/rc.bootup | |
parent | 3a551579af4dde11acc926d2199d04708e8a99a2 (diff) | |
download | pfsense-a164b0ca92f9c7f855332f5e1c86c39675c1799d.zip pfsense-a164b0ca92f9c7f855332f5e1c86c39675c1799d.tar.gz |
Call the php.ini creation function after the other functions have been loaded into memory.
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-x | etc/rc.bootup | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup index 5dd3e91..74ba448 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -31,25 +31,21 @@ POSSIBILITY OF SUCH DAMAGE. */ - /* let the other functions know we're booting */ - $pkg_interface = 'console'; - $g['booting'] = TRUE; - touch("{$g['varrun_path']}/booting"); - echo " done.\n"; echo "Initializing..."; echo "."; require_once("globals.inc"); echo "."; + /* let the other functions know we're booting */ + $pkg_interface = 'console'; + $g['booting'] = TRUE; + touch("{$g['varrun_path']}/booting"); if($g['platform'] == "cdrom") { $motd = trim(file_get_contents("/etc/motd")); if(strlen($motd) > 2) echo "\n{$motd}\n\n"; } - /* setup php.ini */ - opcode_cache_configuration(); - /* parse the configuration and include all functions used below */ require_once("config.inc"); echo "."; @@ -71,6 +67,9 @@ parse_config_bootup(); echo "done.\n"; + /* setup php.ini */ + opcode_cache_configuration(); + $lan_if = $config['interfaces']['lan']['if']; $wan_if = get_real_wan_interface(); |