summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-12-14 21:42:35 +0000
committerErmal <eri@pfsense.org>2013-12-14 21:42:35 +0000
commit83e46727fb84311ba5099beaddaad20b04558e07 (patch)
tree67f8ef98053c0f05d9967df5f29f1d970689b4a6 /etc
parent73c3eed8e06fca8bafdf0a736e64cbee026f741d (diff)
downloadpfsense-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.inc4
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);
}
}
}
OpenPOWER on IntegriCloud