summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-28 01:55:51 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-28 01:55:51 +0000
commitb84d1b32387d61c15afd8fc722d06508077b8779 (patch)
tree020e9833ad57a8a03e07cd133d54476a6f0d656d /etc
parent4dd9a935cc1dd0ee5d72f5c3f98ac471815960c0 (diff)
downloadpfsense-b84d1b32387d61c15afd8fc722d06508077b8779.zip
pfsense-b84d1b32387d61c15afd8fc722d06508077b8779.tar.gz
s/cat//
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc2
-rw-r--r--etc/inc/system.inc2
2 files changed, 2 insertions, 2 deletions
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) {
OpenPOWER on IntegriCloud