diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-07-07 12:52:48 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-07-07 12:52:48 -0300 |
commit | 79cd8239ed8dd7d2dd0d86475b62ee25c5d5736d (patch) | |
tree | e2fae05c00592b3aac71ae033179455432985fd2 /etc | |
parent | 82f758154f900c880dc88ad8ee6397a4e2093aee (diff) | |
download | pfsense-79cd8239ed8dd7d2dd0d86475b62ee25c5d5736d.zip pfsense-79cd8239ed8dd7d2dd0d86475b62ee25c5d5736d.tar.gz |
Fix sysctl name
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index 99de655..d4c7730 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -1643,7 +1643,7 @@ function get_memory() { $_gb = exec("/sbin/sysctl -n hw.physmem", $output); $physmem = trim($output[0], " \n"); unset($output); - $_gb = exec("/sbin/sysctl -n hw.physmem", $output); + $_gb = exec("/sbin/sysctl -n hw.realmem", $output); $realmem = trim($output[0], " \n"); unset($output, $_gb); /* convert from bytes to megabytes */ |