diff options
author | doktornotor <notordoktor@gmail.com> | 2015-09-11 08:28:45 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-09-11 08:28:45 +0200 |
commit | 57f1f5ab8e8c5b9e3446b1c1f773b52248e7f9a1 (patch) | |
tree | 96282a473b7a9af1c72ae721adfacb6cf7f5acf1 | |
parent | 83fcddda48f441d4a8172eb429b3f8f5100af8e4 (diff) | |
download | pfsense-packages-57f1f5ab8e8c5b9e3446b1c1f773b52248e7f9a1.tar.gz pfsense-packages-57f1f5ab8e8c5b9e3446b1c1f773b52248e7f9a1.tar.bz2 pfsense-packages-57f1f5ab8e8c5b9e3446b1c1f773b52248e7f9a1.zip |
lcdproc-dev - 2.1.x compatible boot check
-rw-r--r-- | config/lcdproc-dev/lcdproc.inc | 10 |
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; } |