summaryrefslogtreecommitdiffhomepage
path: root/contrib/package
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/package')
-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))