summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-07-15 21:44:44 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-07-15 21:44:44 -0400
commit891e80bfc9b351e55be86af184fbc347a1f2d386 (patch)
tree848b8f017948d2e2e39a1d3d38699c14c9397b99 /etc
parent149c9dfc0c44d6971b432d40313d1fe5d709c2d0 (diff)
downloadpfsense-891e80bfc9b351e55be86af184fbc347a1f2d386.zip
pfsense-891e80bfc9b351e55be86af184fbc347a1f2d386.tar.gz
Do not allow muting of serial + full install
Diffstat (limited to 'etc')
-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