summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-hd-idle/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-08-12 10:43:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-08-12 10:43:56 +0000
commita9f187152c3692be70d9fd162e8e042400d386df (patch)
tree61d2239a2b52cdee78ea5ed18d3822092fe2dc35 /applications/luci-hd-idle/luasrc
parent5aa46cbf58932dd5e7a99639b6c3473b103bb4e0 (diff)
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@gmail.com>
Diffstat (limited to 'applications/luci-hd-idle/luasrc')
-rw-r--r--applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua2
1 files changed, 0 insertions, 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 d1a88414e7..0c844ca4e0 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