diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-10-10 00:38:04 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-10-10 00:38:04 +0000 |
commit | adf4b76827a6e495eed3c5f2a4f06346cd3410f5 (patch) | |
tree | 6f467a9ae7ffe5df96997e8af166805803d8fa8f /etc/rc.bootup | |
parent | 632e8d54da47ba7c02ed5dd3d7cab544315bea8a (diff) | |
download | pfsense-adf4b76827a6e495eed3c5f2a4f06346cd3410f5.zip pfsense-adf4b76827a6e495eed3c5f2a4f06346cd3410f5.tar.gz |
* Dynamically create php.ini on bootup
* Do not use APC for embedded machines. Advice from #lighttpd
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-x | etc/rc.bootup | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup index dedb9f9..684727e 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -31,16 +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..."; + + /* setup php.ini */ + opcode_cache_configuration(); + 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"; |