summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-12-10 08:25:07 +0000
committerEric Andersen <andersen@codepoet.org>1999-12-10 08:25:07 +0000
commit2cb55077e2f65f17dbc8933eec47760bcc2a6ba1 (patch)
treea788718415ded192938d7c7a3661d0cab8cd8afe /applets
parentc5ff0165adac767d37103baa875c2f86bb43c0e1 (diff)
downloadbusybox-w32-2cb55077e2f65f17dbc8933eec47760bcc2a6ba1.tar.gz
busybox-w32-2cb55077e2f65f17dbc8933eec47760bcc2a6ba1.tar.bz2
busybox-w32-2cb55077e2f65f17dbc8933eec47760bcc2a6ba1.zip
Added poweroff (and adjusted init to use it). Inlined function
calls to code only called once in tee. Made BB_KLOGD and option. -Erik
Diffstat (limited to 'applets')
-rw-r--r--applets/busybox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index f4573019b..d1eb38a0b 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -138,6 +138,9 @@ static const struct Applet applets[] = {
138#ifdef BB_PING //bin 138#ifdef BB_PING //bin
139 {"ping", ping_main}, 139 {"ping", ping_main},
140#endif 140#endif
141#ifdef BB_POWEROFF //sbin
142 {"poweroff", poweroff_main},
143#endif
141#ifdef BB_PRINTF //usr/bin 144#ifdef BB_PRINTF //usr/bin
142 {"printf", printf_main}, 145 {"printf", printf_main},
143#endif 146#endif