diff options
author | Eric Andersen | 1999-12-10 08:25:07 +0000 |
---|---|---|
committer | Eric Andersen | 1999-12-10 08:25:07 +0000 |
commit | 2cb55077e2f65f17dbc8933eec47760bcc2a6ba1 (patch) | |
tree | a788718415ded192938d7c7a3661d0cab8cd8afe /applets | |
parent | c5ff0165adac767d37103baa875c2f86bb43c0e1 (diff) | |
download | busybox-2cb55077e2f65f17dbc8933eec47760bcc2a6ba1.zip busybox-2cb55077e2f65f17dbc8933eec47760bcc2a6ba1.tar.gz |
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/applets/busybox.c b/applets/busybox.c index f457301..d1eb38a 100644 --- a/applets/busybox.c +++ b/applets/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 |