summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/util.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/inc/util.inc')
-rw-r--r--src/etc/inc/util.inc12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc
index 265f62f..53553c4 100644
--- a/src/etc/inc/util.inc
+++ b/src/etc/inc/util.inc
@@ -2017,11 +2017,7 @@ function get_memory() {
function mute_kernel_msgs() {
global $g, $config;
- // Do not mute serial console. The kernel gets very very cranky
- // and will start dishing you cannot control tty errors.
- if ($g['platform'] == 'nanobsd') {
- return;
- }
+
if ($config['system']['enableserial']) {
return;
}
@@ -2030,11 +2026,7 @@ function mute_kernel_msgs() {
function unmute_kernel_msgs() {
global $g;
- // Do not mute serial console. The kernel gets very very cranky
- // and will start dishing you cannot control tty errors.
- if ($g['platform'] == 'nanobsd') {
- return;
- }
+
exec("/sbin/conscontrol mute off");
}
OpenPOWER on IntegriCloud