summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/util.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index 00d4ce6..d67d0b6 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -960,6 +960,8 @@ function mute_kernel_msgs() {
// and will start dishing you cannot control tty errors.
if(trim(file_get_contents("/etc/platform")) == "nanobsd")
return;
+ if($config['system']['enableserial'])
+ return;
exec("/sbin/conscontrol mute on");
}
OpenPOWER on IntegriCloud