Support reboot, halt, and poweroff independent of busybox init.
Simplify and fixup some logic.
 -Erik
diff --git a/init/init_shared.h b/init/init_shared.h
index d10a1bd..1e4cfac 100644
--- a/init/init_shared.h
+++ b/init/init_shared.h
@@ -1 +1,3 @@
 extern int kill_init(int sig);
+extern int bb_shutdown_system(unsigned long magic);
+