diff --git a/etc/inc/config.inc b/etc/inc/config.inc index f0cc1ee7ec..b0b3be959e 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1816,6 +1816,7 @@ function backup_config() { } function mute_kernel_msgs() { + global $config; // Do not mute serial console. The kernel gets very very cranky // and will start dishing you cannot control tty errors. if(trim(file_get_contents("/etc/platform")) == "nanobsd") @@ -1826,6 +1827,7 @@ function mute_kernel_msgs() { } function unmute_kernel_msgs() { + global $config; // Do not mute serial console. The kernel gets very very cranky // and will start dishing you cannot control tty errors. if(trim(file_get_contents("/etc/platform")) == "nanobsd")