Changeset 3488

Show
Ignore:
Timestamp:
10/03/08 13:24:57 (5 years ago)
Author:
jow
Message:

* luci-0.8: backport hd-idle application

Location:
ff-luci/branches/luci-0.8
Files:
1 modified
19 copied

Legend:

Unmodified
Added
Removed
  • ff-luci/branches/luci-0.8/applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua

    r3483 r3488  
    2424s:option(Flag, "enabled", translate("enabled", "Enable")) 
    2525 
    26 disk = s:option(Value, "disk", translate("disk")).rmempty = true 
     26disk = s:option(Value, "disk", translate("disk")) 
     27disk.rmempty = true 
    2728for _, dev in ipairs(luci.fs.glob("/dev/[sh]d[a-z]")) do 
    2829    disk:value(luci.fs.basename(dev)) 
  • ff-luci/branches/luci-0.8/contrib/package/luci/Makefile

    r3449 r3488  
    399399endef 
    400400 
     401define Package/luci-app-hd_idle 
     402  $(call Package/luci/webtemplate) 
     403  DEPENDS+=+luci-admin-full +hd-idle 
     404  TITLE:=hd-idle 
     405endef 
     406 
     407define Package/luci-app-hd_idle/install 
     408        $(call Package/luci/install/template,$(1),applications/luci-hd_idle) 
     409endef 
     410 
    401411 
    402412### Server Gateway Interfaces ### 
     
    551561ifneq ($(CONFIG_PACKAGE_luci-app-ushare),) 
    552562        PKG_SELECTED_MODULES+=applications/luci-ushare 
     563endif 
     564ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),) 
     565       PKG_SELECTED_MODULES+=applications/luci-hd_idle 
    553566endif 
    554567 
     
    615628$(eval $(call BuildPackage,luci-app-p910nd)) 
    616629$(eval $(call BuildPackage,luci-app-ushare)) 
     630$(eval $(call BuildPackage,luci-app-hd_idle)) 
    617631 
    618632$(eval $(call BuildPackage,luci-sgi-cgi))