summaryrefslogtreecommitdiff
path: root/networking/ether-wake.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 09:05:14 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 09:05:14 +0100
commit47367e1d50b81501e8a6ce215f8be4eeacdda693 (patch)
tree28be64a4a758a274ef2459628ec29384722cd3fb /networking/ether-wake.c
parente32b64c4ec9272295df6852fb2a2888d7799d2f0 (diff)
downloadbusybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.tar.gz
busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.tar.bz2
busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.zip
Convert all networking/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ether-wake.c')
-rw-r--r--networking/ether-wake.c10
1 files changed, 10 insertions, 0 deletions
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 @@
63 * doing so only works with adapters configured for unicast+broadcast Rx 63 * doing so only works with adapters configured for unicast+broadcast Rx
64 * filter. That configuration consumes more power. 64 * filter. That configuration consumes more power.
65 */ 65 */
66//config:config ETHER_WAKE
67//config: bool "ether-wake"
68//config: default y
69//config: select PLATFORM_LINUX
70//config: help
71//config: Send a magic packet to wake up sleeping machines.
72
73//applet:IF_ETHER_WAKE(APPLET_ODDNAME(ether-wake, ether_wake, BB_DIR_USR_SBIN, BB_SUID_DROP, ether_wake))
74
75//kbuild:lib-$(CONFIG_ETHER_WAKE) += ether-wake.o
66 76
67//usage:#define ether_wake_trivial_usage 77//usage:#define ether_wake_trivial_usage
68//usage: "[-b] [-i IFACE] [-p aa:bb:cc:dd[:ee:ff]/a.b.c.d] MAC" 78//usage: "[-b] [-i IFACE] [-p aa:bb:cc:dd[:ee:ff]/a.b.c.d] MAC"