aboutsummaryrefslogtreecommitdiffstats
path: root/config/lcdproc-dev
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-11 08:28:45 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-11 08:28:45 +0200
commit57f1f5ab8e8c5b9e3446b1c1f773b52248e7f9a1 (patch)
tree96282a473b7a9af1c72ae721adfacb6cf7f5acf1 /config/lcdproc-dev
parent83fcddda48f441d4a8172eb429b3f8f5100af8e4 (diff)
downloadpfsense-packages-57f1f5ab8e8c5b9e3446b1c1f773b52248e7f9a1.tar.gz
pfsense-packages-57f1f5ab8e8c5b9e3446b1c1f773b52248e7f9a1.tar.bz2
pfsense-packages-57f1f5ab8e8c5b9e3446b1c1f773b52248e7f9a1.zip
lcdproc-dev - 2.1.x compatible boot check
Diffstat (limited to 'config/lcdproc-dev')
-rw-r--r--config/lcdproc-dev/lcdproc.inc10
1 files changed, 6 insertions, 4 deletions
diff --git a/config/lcdproc-dev/lcdproc.inc b/config/lcdproc-dev/lcdproc.inc
index e9656afd..2282d4e3 100644
--- a/config/lcdproc-dev/lcdproc.inc
+++ b/config/lcdproc-dev/lcdproc.inc
@@ -139,12 +139,14 @@ function sync_package_lcdproc_screens() {
}
function sync_package_lcdproc() {
- global $g;
- global $config;
- global $input_errors;
+ global $g, $config, $input_errors;
# Detect boot process
- if (platform_booting()) {
+ if (function_exists("platform_booting")) {
+ if (platform_booting()) {
+ return;
+ }
+ } elseif ($g['booting']) {
return;
}