diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-07-15 21:44:07 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-07-15 21:44:07 -0400 |
commit | 461fcf077587465d4894541d19ae028a75f89aa6 (patch) | |
tree | 0b5f9bb4495140c33e95c2161f4344a09324eef1 /etc/inc/config.inc | |
parent | 1286004b067fb11dd8e949a2ba79fe2a07eea02e (diff) | |
download | pfsense-461fcf077587465d4894541d19ae028a75f89aa6.zip pfsense-461fcf077587465d4894541d19ae028a75f89aa6.tar.gz |
Do not allow muting of serial + full install
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r-- | etc/inc/config.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 9141d0d..f0cc1ee 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1820,6 +1820,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"); } |