From 2cb55077e2f65f17dbc8933eec47760bcc2a6ba1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 10 Dec 1999 08:25:07 +0000 Subject: Added poweroff (and adjusted init to use it). Inlined function calls to code only called once in tee. Made BB_KLOGD and option. -Erik --- busybox.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'busybox.c') diff --git a/busybox.c b/busybox.c index f4573019b..d1eb38a0b 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 -- cgit v1.2.3