summaryrefslogtreecommitdiff
path: root/busybox.c
diff options
context:
space:
mode:
Diffstat (limited to 'busybox.c')
-rw-r--r--busybox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/busybox.c b/busybox.c
index f457301..d1eb38a 100644
--- a/busybox.c
+++ b/busybox.c
@@ -138,6 +138,9 @@ static const struct Applet applets[] = {
#ifdef BB_PING //bin
{"ping", ping_main},
#endif
+#ifdef BB_POWEROFF //sbin
+ {"poweroff", poweroff_main},
+#endif
#ifdef BB_PRINTF //usr/bin
{"printf", printf_main},
#endif