From adf4b76827a6e495eed3c5f2a4f06346cd3410f5 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 10 Oct 2006 00:38:04 +0000 Subject: * Dynamically create php.ini on bootup * Do not use APC for embedded machines. Advice from #lighttpd --- etc/rc.bootup | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'etc/rc.bootup') 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"; -- cgit v1.1