diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-12-10 08:25:07 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-12-10 08:25:07 +0000 |
commit | c2e3ec137a26d09fefe7f062f9a0504ac9587e34 (patch) | |
tree | a788718415ded192938d7c7a3661d0cab8cd8afe /applets | |
parent | a47d57cc65e348eb9e813a93b092839ba82b5da0 (diff) | |
download | busybox-w32-c2e3ec137a26d09fefe7f062f9a0504ac9587e34.tar.gz busybox-w32-c2e3ec137a26d09fefe7f062f9a0504ac9587e34.tar.bz2 busybox-w32-c2e3ec137a26d09fefe7f062f9a0504ac9587e34.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
git-svn-id: svn://busybox.net/trunk/busybox@199 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'applets')
-rw-r--r-- | applets/busybox.c | 3 |
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 |