From 47367e1d50b81501e8a6ce215f8be4eeacdda693 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 23 Nov 2016 09:05:14 +0100 Subject: Convert all networking/* applets to "new style" applet definitions Signed-off-by: Denys Vlasenko --- networking/ether-wake.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'networking/ether-wake.c') diff --git a/networking/ether-wake.c b/networking/ether-wake.c index c38547dda..d7d691772 100644 --- a/networking/ether-wake.c +++ b/networking/ether-wake.c @@ -63,6 +63,16 @@ * doing so only works with adapters configured for unicast+broadcast Rx * filter. That configuration consumes more power. */ +//config:config ETHER_WAKE +//config: bool "ether-wake" +//config: default y +//config: select PLATFORM_LINUX +//config: help +//config: Send a magic packet to wake up sleeping machines. + +//applet:IF_ETHER_WAKE(APPLET_ODDNAME(ether-wake, ether_wake, BB_DIR_USR_SBIN, BB_SUID_DROP, ether_wake)) + +//kbuild:lib-$(CONFIG_ETHER_WAKE) += ether-wake.o //usage:#define ether_wake_trivial_usage //usage: "[-b] [-i IFACE] [-p aa:bb:cc:dd[:ee:ff]/a.b.c.d] MAC" -- cgit v1.2.3