summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-04-18 22:31:33 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-04-18 22:31:33 +0000
commitc4ef5ff259967852a00a4444642f50aaef050c67 (patch)
treed327e57336b669da3a9cce66de136f65220c65cf /contrib
parent99fd48ebdd8b5213fbf3e2867d3c35b2193de7a0 (diff)
contrib: add WoL application to menuconfig
Diffstat (limited to 'contrib')
-rw-r--r--contrib/package/luci/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile
index 45eaf1c811..9d4d84e9ef 100644
--- a/contrib/package/luci/Makefile
+++ b/contrib/package/luci/Makefile
@@ -778,6 +778,16 @@ define Package/luci-app-multiwan/install
$(call Package/luci/install/template,$(1),applications/luci-multiwan)
endef
+define Package/luci-app-wol
+ $(call Package/luci/webtemplate)
+ TITLE:=LuCI Support for Wake-on-LAN
+ DEPENDS+=+luci-admin-core +PACKAGE_luci-app-wol:etherwake
+endef
+
+define Package/luci-app-wol/install
+ $(call Package/luci/install/template,$(1),applications/luci-wol)
+endef
+
### Server Gateway Interfaces ###
@@ -1202,6 +1212,9 @@ endif
ifneq ($(CONFIG_PACKAGE_luci-app-multiwan),)
PKG_SELECTED_MODULES+=applications/luci-multiwan
endif
+ifneq ($(CONFIG_PACKAGE_luci-app-wol),)
+ PKG_SELECTED_MODULES+=applications/luci-wol
+endif
ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
@@ -1337,6 +1350,7 @@ $(eval $(call BuildPackage,luci-app-polipo))
$(eval $(call BuildPackage,luci-app-openvpn))
$(eval $(call BuildPackage,luci-app-p2pblock))
$(eval $(call BuildPackage,luci-app-multiwan))
+$(eval $(call BuildPackage,luci-app-wol))
$(eval $(call BuildPackage,luci-sgi-cgi))
$(eval $(call BuildPackage,luci-sgi-uhttpd))