Index: busybox.c
===================================================================
RCS file: /var/cvs/busybox/applets/busybox.c,v
retrieving revision 1.137
diff -u -r1.137 busybox.c
--- busybox.c	18 Dec 2001 14:05:59 -0000	1.137
+++ busybox.c	2 Mar 2002 13:55:26 -0000
@@ -9,6 +9,8 @@
 #include <locale.h>
 #endif
 
+#define BB_USE_BIN
+
 int been_there_done_that = 0; /* Also used in applets.c */
 const char *applet_name;
 
@@ -18,6 +20,19 @@
  *		this should be consistent w/ the enum, busybox.h::Location,
  *		or else...
  */
+
+#ifdef BB_USE_BIN
+
+static char* install_dir[] = {
+	"/",
+	"/bin",
+	"/bin",
+	"/bin",
+	"/bin",
+};
+
+#else
+
 static char* install_dir[] = {
 	"/",
 	"/bin",
@@ -26,6 +41,8 @@
 	"/usr/sbin",
 };
 
+#endif
+
 /* abstract link() */
 typedef int (*__link_f)(const char *, const char *);
 
@@ -35,7 +52,7 @@
  *		malloc'd string w/ full pathname of busybox's location
  *		NULL on failure
  */
-static char *busybox_fullpath(void)
+static char *busybox_fullpath()
 {
 	return xreadlink("/proc/self/exe");
 }
@@ -53,8 +70,16 @@
 		Link = symlink;
 
 	for (i = 0; applets[i].name != NULL; i++) {
-		fpc = concat_path_file(
-			install_dir[applets[i].location], applets[i].name);
+
+#ifdef BB_USE_BIN
+		fpc = concat_path_file("/bin", applets[i].name);
+#else
+	fpc = concat_path_file(
+		install_dir[applets[i].location], applets[i].name);
+#endif
+
+
+
 		rc = Link(busybox, fpc);
 		if (rc!=0 && errno!=EEXIST) {
 			perror_msg("%s", fpc);
