needs to be a global now

This commit is contained in:
Scott Ullrich 2009-07-15 21:46:15 -04:00
parent 461fcf0775
commit 645bdcb48e

View File

@ -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")