From c4ef5ff259967852a00a4444642f50aaef050c67 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 18 Apr 2010 22:31:33 +0000 Subject: [PATCH] contrib: add WoL application to menuconfig --- contrib/package/luci/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index 45eaf1c81..9d4d84e9e 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)) -- 2.25.1