summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-10-10 01:21:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-10-10 01:21:05 +0000
commita164b0ca92f9c7f855332f5e1c86c39675c1799d (patch)
tree1cfe5390f98bdc70eb1222cf31a3004af9dcc928 /etc/rc.bootup
parent3a551579af4dde11acc926d2199d04708e8a99a2 (diff)
downloadpfsense-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-xetc/rc.bootup15
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();
OpenPOWER on IntegriCloud