diff options
author | Ermal <eri@pfsense.org> | 2013-12-14 21:42:35 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-12-14 21:42:35 +0000 |
commit | 83e46727fb84311ba5099beaddaad20b04558e07 (patch) | |
tree | 67f8ef98053c0f05d9967df5f29f1d970689b4a6 /etc | |
parent | 73c3eed8e06fca8bafdf0a736e64cbee026f741d (diff) | |
download | pfsense-83e46727fb84311ba5099beaddaad20b04558e07.zip pfsense-83e46727fb84311ba5099beaddaad20b04558e07.tar.gz |
Mute the output of the command since its not really useful
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index c4857fa..4761fba 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -81,9 +81,9 @@ function activate_sysctls() { foreach($config['sysctl']['item'] as $tunable) { if($tunable['value'] == "default") { $value = get_default_sysctl_value($tunable['tunable']); - mwexec("/sbin/sysctl " . $tunable['tunable'] . "=\"" . $value . "\""); + mwexec("/sbin/sysctl " . $tunable['tunable'] . "=\"" . $value . "\"", true); } else { - mwexec("/sbin/sysctl " . $tunable['tunable'] . "=\"" . $tunable['value'] . "\""); + mwexec("/sbin/sysctl " . $tunable['tunable'] . "=\"" . $tunable['value'] . "\"", true); } } } |