From b84d1b32387d61c15afd8fc722d06508077b8779 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 28 Dec 2005 01:55:51 +0000 Subject: s/cat// --- etc/inc/pfsense-utils.inc | 2 +- etc/inc/system.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 96f46c7..1e1bf1b 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1045,7 +1045,7 @@ function rmdir_recursive($path,$follow_links=false) { * [0]real and [1]available */ function get_memory() { - if(file_exists("cat /var/log/dmesg.boot")) { + if(file_exists("/var/log/dmesg.boot")) { $mem = `cat /var/log/dmesg.boot | grep memory`; if (preg_match_all("/real memory = .* \((.*) MB/", $mem, $matches)) $real = $matches[1]; diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 5092313..ab298c4 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -562,7 +562,7 @@ function system_generate_lighty_config($filename, $avail = $memory[0]; if($avail > 0 and $avail < 65) { - $fast_cgi_enable = false; + $fast_cgi_enable = false; } if($fast_cgi_enable == true) { -- cgit v1.1