summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-07-15 21:46:15 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-07-15 21:46:15 -0400
commit645bdcb48e5cc2a37c35eff3d3021de82e612fca (patch)
tree33daa558640455d56fe4e45a34f9f4338fcdf0f6 /etc/inc/config.inc
parent461fcf077587465d4894541d19ae028a75f89aa6 (diff)
downloadpfsense-645bdcb48e5cc2a37c35eff3d3021de82e612fca.zip
pfsense-645bdcb48e5cc2a37c35eff3d3021de82e612fca.tar.gz
needs to be a global now
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r--etc/inc/config.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index f0cc1ee..b0b3be9 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")
OpenPOWER on IntegriCloud