aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-08-11 11:05:52 -0400
committerjim-p <jimp@pfsense.org>2011-08-11 11:05:52 -0400
commitea9290cd74bce9534a2405e3191362a5d716225b (patch)
treee62bf8f524b0455f4f55b536254c6a12fc2a6ece
parent1063780a225eb2ffa2765317b88155fcf2b35387 (diff)
downloadpfsense-packages-ea9290cd74bce9534a2405e3191362a5d716225b.tar.gz
pfsense-packages-ea9290cd74bce9534a2405e3191362a5d716225b.tar.bz2
pfsense-packages-ea9290cd74bce9534a2405e3191362a5d716225b.zip
Reset LEDs on sync, so if the package is disabled they go back to normal.
-rw-r--r--config/gwled/gwled.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/gwled/gwled.inc b/config/gwled/gwled.inc
index 3fff4c72..7bb25147 100644
--- a/config/gwled/gwled.inc
+++ b/config/gwled/gwled.inc
@@ -8,6 +8,7 @@ function gwled_running () {
function sync_package_gwled() {
global $config;
$gwled_config = $config['installedpackages']['gwled']['config'][0];
+ led_normalize();
/* kill all instances of gwled */
if(gwled_running()) {
gwled_stop();