aboutsummaryrefslogtreecommitdiffstats
path: root/config/gwled
diff options
context:
space:
mode:
Diffstat (limited to 'config/gwled')
-rw-r--r--config/gwled/gwled.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/gwled/gwled.inc b/config/gwled/gwled.inc
index 35038034..eb50c575 100644
--- a/config/gwled/gwled.inc
+++ b/config/gwled/gwled.inc
@@ -22,8 +22,10 @@ function gwled_start() {
return;
if (($gwled_config['enable_led2']) && ($gwled_config['gw_led2'])
- || ($gwled_config['enable_led3']) && ($gwled_config['gw_led3']))
+ || ($gwled_config['enable_led3']) && ($gwled_config['gw_led3'])) {
mwexec("/usr/local/bin/minicron 30 /var/run/gwled.pid /usr/local/bin/gwled.php");
+ mwexec_bg("/usr/local/bin/gwled.php");
+ }
}
function gwled_stop() {