[luci] [PATCH][applications] hd-idle: enable_debug will block LuCI interface

Christian Schoenebeck christian.schoenebeck at gmail.com
Mon Jul 28 11:37:57 CEST 2014


From: Christian Schoenebeck <christian.schoenebeck at gmail.com>
Date: Mon, 28 Jul 2014 10:52:55 +0200
Subject: [PATCH][applications] hd-idle: enable_debug will block LuCI interface

NEVER enable_debug from LuCI, because hd-idle goes into
foreground/console mode and LuCI will hang during "Save&Apply" forever.
This parameter should be removed completely. Also not being availible
inside OpenWrt's init script. If you reboot, hd-idle blocks the boot
process because it's not going to background.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck at gmail.com>
---
 applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua | 2 --
 1 file changed, 2 deletions(-)

diff --git a/applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua b/applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua
index d1a8841..0c844ca 100644
--- a/applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua
+++ b/applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua
@@ -38,6 +38,4 @@ unit:value("minutes", translate("min"))
 unit:value("hours", translate("h"))
 unit.rmempty = true
 
-s:option(Flag, "enable_debug", translate("Enable debug"))
-
 return m



---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.
http://www.avast.com
-------------- n�chster Teil --------------
Ein Dateianhang mit Bin�rdaten wurde abgetrennt...
Dateiname   : hd-idle-enable_debug-will-block-LuCI.svn.patch
Dateityp    : text/x-patch
Dateigr��e  : 445 bytes
Beschreibung: nicht verf�gbar
URL         : <http://lists.subsignal.org/pipermail/luci/attachments/20140728/436180e8/attachment.bin>


More information about the luci mailing list