summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
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/inc/pfsense-utils.inc
parent4dd9a935cc1dd0ee5d72f5c3f98ac471815960c0 (diff)
downloadpfsense-b84d1b32387d61c15afd8fc722d06508077b8779.zip
pfsense-b84d1b32387d61c15afd8fc722d06508077b8779.tar.gz
s/cat//
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 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];
OpenPOWER on IntegriCloud