+ busybox --install [-s]
is almost good to go. Here is my work in progress.
+ Look at the FIXME in busybox.c
to see what I need. The actual (sym)linking is disabled
for now, although I'm sure it works ;)
(Am I going to have to dig through /proc to find
out where the currently running busybox is sitting?)
+ I put an #ifdef BB_FEATURE_INSTALLER around
the new bits of code in busybox.c, and I have a
#define BB_FEATURE_INSTALLER in busybox.def.h
towards the bottom.
diff --git a/busybox.def.h b/busybox.def.h
index 9742241..4c74910 100644
--- a/busybox.def.h
+++ b/busybox.def.h
@@ -230,6 +230,11 @@
//#define BB_FEATURE_INSMOD_VERSION_CHECKING
//
//
+// Enable busybox --install [-s]
+// to create links (or symlinks) for all the commands that are
+// compiled into the binary.
+#define BB_FEATURE_INSTALLER
+//
// End of Features List
//
//