More stuff.
[oweals/busybox.git] / busybox.c
index cb0e2a728ef5c818139efd7c3fc528de1864a0d8..29a112b12f088933100ad8a8fd4c2920d669de15 100644 (file)
--- a/busybox.c
+++ b/busybox.c
@@ -14,7 +14,7 @@ static const struct Applet applets[] = {
     {"block_device", block_device_main},
 #endif
 #ifdef BB_CAT                  //bin
-    {"cat", cat_more_main},
+    {"cat", cat_main},
 #endif
 #ifdef BB_CHMOD_CHOWN_CHGRP    //bin
     {"chmod", chmod_chown_chgrp_main},
@@ -43,10 +43,7 @@ static const struct Applet applets[] = {
     {"dmesg", dmesg_main},
 #endif
 #ifdef BB_DUTMP                        //usr/sbin
-    {"dutmp", cat_more_main},
-#endif
-#ifdef BB_FALSE                        //bin
-    {"false", false_main},
+    {"dutmp", dutmp_main},
 #endif
 #ifdef BB_FDFLUSH              //bin
     {"fdflush", fdflush_main},
@@ -54,6 +51,18 @@ static const struct Applet applets[] = {
 #ifdef BB_FIND                 //usr/bin
     {"find", find_main},
 #endif
+#ifdef BB_CHVT                 //usr/bin
+    {"chvt", chvt_main},
+#endif
+#ifdef BB_DEALLOCVT                    //usr/bin
+    {"deallocvt", deallocvt_main},
+#endif
+#ifdef BB_FSCK_MINIX           //sbin
+    {"fsck.minix", fsck_minix_main},
+#endif
+#ifdef BB_MKFS_MINIX           //sbin
+    {"mkfs.minix", mkfs_minix_main},
+#endif
 #ifdef BB_GREP                 //bin
     {"grep", grep_main},
 #endif
@@ -114,6 +123,9 @@ static const struct Applet applets[] = {
 #ifdef BB_PRINTF               //usr/bin
     {"printf", printf_main},
 #endif
+#ifdef BB_PS                   //bin
+    {"ps", ps_main},
+#endif
 #ifdef BB_PWD                  //bin
     {"pwd", pwd_main},
 #endif
@@ -126,6 +138,13 @@ static const struct Applet applets[] = {
 #ifdef BB_RMDIR                        //bin
     {"rmdir", rmdir_main},
 #endif
+#ifdef BB_SFDISK               //sbin
+    {"fdisk", sfdisk_main},
+    {"sfdisk", sfdisk_main},
+#endif
+#ifdef BB_SED                  //bin
+    {"sed", sed_main},
+#endif
 #ifdef BB_SLEEP                        //bin
     {"sleep", sleep_main},
 #endif
@@ -142,8 +161,12 @@ static const struct Applet applets[] = {
 #ifdef BB_TOUCH                        //usr/bin
     {"touch", touch_main},
 #endif
-#ifdef BB_TRUE                 //bin
+#ifdef BB_TRUE_FALSE           //bin
     {"true", true_main},
+    {"false", false_main},
+#endif
+#ifdef BB_UNAME                        //bin
+    {"uname",  uname_main},
 #endif
 #ifdef BB_UMOUNT               //bin
     {"umount",  umount_main},