From 891e80bfc9b351e55be86af184fbc347a1f2d386 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 15 Jul 2009 21:44:44 -0400 Subject: Do not allow muting of serial + full install --- etc/inc/util.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc/inc') 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"); } -- cgit v1.1