hd-idle: enable_debug will block LuCI interface
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 12 Aug 2014 10:43:56 +0000 (10:43 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 12 Aug 2014 10:43:56 +0000 (10:43 +0000)
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@gmail.com>
applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua

index d1a8841..0c844ca 100644 (file)
@@ -38,6 +38,4 @@ unit:value("minutes", translate("min"))
 unit:value("hours", translate("h"))
 unit.rmempty = true
 
 unit:value("hours", translate("h"))
 unit.rmempty = true
 
-s:option(Flag, "enable_debug", translate("Enable debug"))
-
 return m
 return m