mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
needs to be a global now
This commit is contained in:
parent
461fcf0775
commit
645bdcb48e
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user