Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 1 | /* |
| 2 | * applets.h - a listing of all busybox applets. |
| 3 | * |
| 4 | * If you write a new applet, you need to add an entry to this list to make |
| 5 | * busybox aware of it. |
| 6 | * |
| 7 | * It is CRUCIAL that this listing be kept in ascii order, otherwise the binary |
| 8 | * search lookup contributed by Gaute B Strokkenes stops working. If you value |
| 9 | * your kneecaps, you'll be sure to *make sure* that any changes made to this |
| 10 | * file result in the listing remaining in ascii order. You have been warned. |
| 11 | */ |
| 12 | |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 13 | #undef APPLET |
| 14 | #undef APPLET_ODDNAME |
| 15 | #undef APPLET_NOUSAGE |
| 16 | |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 17 | |
Eric Andersen | 868c057 | 2000-12-02 00:44:48 +0000 | [diff] [blame] | 18 | #if defined(PROTOTYPES) |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 19 | #define APPLET(a,b,c) extern int b(int argc, char **argv); |
| 20 | #define APPLET_NOUSAGE(a,b,c) extern int b(int argc, char **argv); |
| 21 | #define APPLET_ODDNAME(a,b,c,d) extern int b(int argc, char **argv); |
| 22 | extern const char usage_messages[]; |
| 23 | #elif defined(MAKE_USAGE) |
Matt Kraai | a2e68fc | 2001-03-27 21:57:29 +0000 | [diff] [blame] | 24 | #ifdef BB_FEATURE_VERBOSE_USAGE |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 25 | #define APPLET(a,b,c) a##_trivial_usage "\n\n" a##_full_usage "\0" |
| 26 | #define APPLET_NOUSAGE(a,b,c) "\0" |
| 27 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\n\n" d##_full_usage "\0" |
Matt Kraai | a2e68fc | 2001-03-27 21:57:29 +0000 | [diff] [blame] | 28 | #else |
| 29 | #define APPLET(a,b,c) a##_trivial_usage "\0" |
| 30 | #define APPLET_NOUSAGE(a,b,c) "\0" |
| 31 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\0" |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 32 | #endif |
Eric Andersen | 3574b70 | 2001-02-23 02:16:29 +0000 | [diff] [blame] | 33 | #elif defined(MAKE_LINKS) |
| 34 | # define APPLET(a,b,c) LINK c a |
| 35 | # define APPLET_NOUSAGE(a,b,c) LINK c a |
| 36 | # define APPLET_ODDNAME(a,b,c,d) LINK c a |
Eric Andersen | 868c057 | 2000-12-02 00:44:48 +0000 | [diff] [blame] | 37 | #else |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 38 | const struct BB_applet applets[] = { |
| 39 | #define APPLET(a,b,c) {#a,b,c}, |
| 40 | #define APPLET_NOUSAGE(a,b,c) {a,b,c}, |
| 41 | #define APPLET_ODDNAME(a,b,c,d) {a,b,c}, |
Eric Andersen | 8c725e6 | 2000-11-30 00:27:06 +0000 | [diff] [blame] | 42 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 43 | |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 44 | |
| 45 | |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 46 | #ifdef BB_TEST |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 47 | APPLET_NOUSAGE("[", test_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 48 | #endif |
Mark Whitley | 6f93277 | 2001-03-20 19:18:10 +0000 | [diff] [blame] | 49 | #ifdef BB_ADJTIMEX |
| 50 | APPLET(adjtimex, adjtimex_main, _BB_DIR_SBIN) |
| 51 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 52 | #ifdef BB_AR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 53 | APPLET(ar, ar_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 54 | #endif |
| 55 | #ifdef BB_BASENAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 56 | APPLET(basename, basename_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 57 | #endif |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 58 | APPLET_NOUSAGE("busybox", busybox_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 59 | #ifdef BB_CAT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 60 | APPLET(cat, cat_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 61 | #endif |
Eric Andersen | 9f0fedb | 2001-04-24 18:07:19 +0000 | [diff] [blame] | 62 | #ifdef BB_CHGRP |
| 63 | APPLET(chgrp, chgrp_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 64 | #endif |
Eric Andersen | 9f0fedb | 2001-04-24 18:07:19 +0000 | [diff] [blame] | 65 | #ifdef BB_CHMOD |
| 66 | APPLET(chmod, chmod_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 67 | #endif |
Eric Andersen | 9f0fedb | 2001-04-24 18:07:19 +0000 | [diff] [blame] | 68 | #ifdef BB_CHOWN |
| 69 | APPLET(chown, chown_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 70 | #endif |
| 71 | #ifdef BB_CHROOT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 72 | APPLET(chroot, chroot_main, _BB_DIR_USR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 73 | #endif |
| 74 | #ifdef BB_CHVT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 75 | APPLET(chvt, chvt_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 76 | #endif |
| 77 | #ifdef BB_CLEAR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 78 | APPLET(clear, clear_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 79 | #endif |
| 80 | #ifdef BB_CMP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 81 | APPLET(cmp, cmp_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 82 | #endif |
Matt Kraai | 91b2855 | 2001-04-23 18:53:07 +0000 | [diff] [blame] | 83 | #ifdef BB_CP |
| 84 | APPLET(cp, cp_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 85 | #endif |
Glenn L McGrath | 8f5b63e | 2001-06-22 09:22:06 +0000 | [diff] [blame] | 86 | #ifdef BB_CPIO |
| 87 | APPLET(cpio, cpio_main, _BB_DIR_BIN) |
| 88 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 89 | #ifdef BB_CUT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 90 | APPLET(cut, cut_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 91 | #endif |
| 92 | #ifdef BB_DATE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 93 | APPLET(date, date_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 94 | #endif |
| 95 | #ifdef BB_DC |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 96 | APPLET(dc, dc_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 97 | #endif |
| 98 | #ifdef BB_DD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 99 | APPLET(dd, dd_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 100 | #endif |
| 101 | #ifdef BB_DEALLOCVT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 102 | APPLET(deallocvt, deallocvt_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 103 | #endif |
| 104 | #ifdef BB_DF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 105 | APPLET(df, df_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 106 | #endif |
| 107 | #ifdef BB_DIRNAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 108 | APPLET(dirname, dirname_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 109 | #endif |
| 110 | #ifdef BB_DMESG |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 111 | APPLET(dmesg, dmesg_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 112 | #endif |
| 113 | #ifdef BB_DOS2UNIX |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 114 | APPLET(dos2unix, dos2unix_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 115 | #endif |
Glenn L McGrath | c30ab0f | 2001-02-10 02:04:40 +0000 | [diff] [blame] | 116 | #ifdef BB_DPKG |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 117 | APPLET(dpkg, dpkg_main, _BB_DIR_USR_BIN) |
Glenn L McGrath | c30ab0f | 2001-02-10 02:04:40 +0000 | [diff] [blame] | 118 | #endif |
Glenn L McGrath | 7541e3a | 2001-01-02 23:41:50 +0000 | [diff] [blame] | 119 | #ifdef BB_DPKG_DEB |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 120 | APPLET_ODDNAME("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, dpkg_deb) |
Glenn L McGrath | 7541e3a | 2001-01-02 23:41:50 +0000 | [diff] [blame] | 121 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 122 | #ifdef BB_DU |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 123 | APPLET(du, du_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 124 | #endif |
| 125 | #ifdef BB_DUMPKMAP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 126 | APPLET(dumpkmap, dumpkmap_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 127 | #endif |
| 128 | #ifdef BB_DUTMP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 129 | APPLET(dutmp, dutmp_main, _BB_DIR_USR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 130 | #endif |
| 131 | #ifdef BB_ECHO |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 132 | APPLET(echo, echo_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 133 | #endif |
Mark Whitley | 40e5e7c | 2001-03-14 17:45:45 +0000 | [diff] [blame] | 134 | #if defined(BB_FEATURE_GREP_EGREP_ALIAS) && defined(BB_GREP) |
Eric Andersen | e2a3cd1 | 2001-03-16 23:49:20 +0000 | [diff] [blame] | 135 | APPLET_NOUSAGE("egrep", grep_main, _BB_DIR_BIN) |
Mark Whitley | 40e5e7c | 2001-03-14 17:45:45 +0000 | [diff] [blame] | 136 | #endif |
Eric Andersen | 84e229c | 2001-03-29 22:48:33 +0000 | [diff] [blame] | 137 | #ifdef BB_ENV |
| 138 | APPLET(env, env_main, _BB_DIR_USR_BIN) |
| 139 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 140 | #ifdef BB_EXPR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 141 | APPLET(expr, expr_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 142 | #endif |
| 143 | #ifdef BB_TRUE_FALSE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 144 | APPLET(false, false_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 145 | #endif |
| 146 | #ifdef BB_FBSET |
Eric Andersen | 0d3a02e | 2001-03-15 18:14:25 +0000 | [diff] [blame] | 147 | APPLET(fbset, fbset_main, _BB_DIR_USR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 148 | #endif |
| 149 | #ifdef BB_FDFLUSH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 150 | APPLET(fdflush, fdflush_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 151 | #endif |
| 152 | #ifdef BB_FIND |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 153 | APPLET(find, find_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 154 | #endif |
| 155 | #ifdef BB_FREE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 156 | APPLET(free, free_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 157 | #endif |
| 158 | #ifdef BB_FREERAMDISK |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 159 | APPLET(freeramdisk, freeramdisk_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 160 | #endif |
| 161 | #ifdef BB_FSCK_MINIX |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 162 | APPLET_ODDNAME("fsck.minix", fsck_minix_main, _BB_DIR_SBIN, fsck_minix) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 163 | #endif |
| 164 | #ifdef BB_GETOPT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 165 | APPLET(getopt, getopt_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 166 | #endif |
| 167 | #ifdef BB_GREP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 168 | APPLET(grep, grep_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 169 | #endif |
| 170 | #ifdef BB_GUNZIP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 171 | APPLET(gunzip, gunzip_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 172 | #endif |
| 173 | #ifdef BB_GZIP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 174 | APPLET(gzip, gzip_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 175 | #endif |
| 176 | #ifdef BB_HALT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 177 | APPLET(halt, halt_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 178 | #endif |
| 179 | #ifdef BB_HEAD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 180 | APPLET(head, head_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 181 | #endif |
| 182 | #ifdef BB_HOSTID |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 183 | APPLET(hostid, hostid_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 184 | #endif |
| 185 | #ifdef BB_HOSTNAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 186 | APPLET(hostname, hostname_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 187 | #endif |
| 188 | #ifdef BB_ID |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 189 | APPLET(id, id_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 190 | #endif |
Eric Andersen | ec45595 | 2001-02-14 08:11:27 +0000 | [diff] [blame] | 191 | #ifdef BB_IFCONFIG |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 192 | APPLET(ifconfig, ifconfig_main, _BB_DIR_SBIN) |
Eric Andersen | ec45595 | 2001-02-14 08:11:27 +0000 | [diff] [blame] | 193 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 194 | #ifdef BB_INIT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 195 | APPLET(init, init_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 196 | #endif |
| 197 | #ifdef BB_INSMOD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 198 | APPLET(insmod, insmod_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 199 | #endif |
| 200 | #ifdef BB_KILL |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 201 | APPLET(kill, kill_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 202 | #endif |
| 203 | #ifdef BB_KILLALL |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 204 | APPLET(killall, kill_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 205 | #endif |
Mark Whitley | 6317c4b | 2001-03-12 22:51:50 +0000 | [diff] [blame] | 206 | #ifdef BB_KLOGD |
| 207 | APPLET(klogd, klogd_main, _BB_DIR_SBIN) |
| 208 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 209 | #ifdef BB_LENGTH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 210 | APPLET(length, length_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 211 | #endif |
Eric Andersen | 2825ee8 | 2001-03-15 18:58:06 +0000 | [diff] [blame] | 212 | #ifdef BB_FEATURE_LINUXRC |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 213 | APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 214 | #endif |
| 215 | #ifdef BB_LN |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 216 | APPLET(ln, ln_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 217 | #endif |
| 218 | #ifdef BB_LOADACM |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 219 | APPLET(loadacm, loadacm_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 220 | #endif |
| 221 | #ifdef BB_LOADFONT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 222 | APPLET(loadfont, loadfont_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 223 | #endif |
| 224 | #ifdef BB_LOADKMAP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 225 | APPLET(loadkmap, loadkmap_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 226 | #endif |
| 227 | #ifdef BB_LOGGER |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 228 | APPLET(logger, logger_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 229 | #endif |
| 230 | #ifdef BB_LOGNAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 231 | APPLET(logname, logname_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 232 | #endif |
Mark Whitley | 6317c4b | 2001-03-12 22:51:50 +0000 | [diff] [blame] | 233 | #ifdef BB_LOGREAD |
| 234 | APPLET(logread, logread_main, _BB_DIR_SBIN) |
| 235 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 236 | #ifdef BB_LS |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 237 | APPLET(ls, ls_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 238 | #endif |
| 239 | #ifdef BB_LSMOD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 240 | APPLET(lsmod, lsmod_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 241 | #endif |
| 242 | #ifdef BB_MAKEDEVS |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 243 | APPLET(makedevs, makedevs_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 244 | #endif |
| 245 | #ifdef BB_MD5SUM |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 246 | APPLET(md5sum, md5sum_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 247 | #endif |
| 248 | #ifdef BB_MKDIR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 249 | APPLET(mkdir, mkdir_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 250 | #endif |
| 251 | #ifdef BB_MKFIFO |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 252 | APPLET(mkfifo, mkfifo_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 253 | #endif |
| 254 | #ifdef BB_MKFS_MINIX |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 255 | APPLET_ODDNAME("mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN, mkfs_minix) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 256 | #endif |
| 257 | #ifdef BB_MKNOD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 258 | APPLET(mknod, mknod_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 259 | #endif |
| 260 | #ifdef BB_MKSWAP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 261 | APPLET(mkswap, mkswap_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 262 | #endif |
| 263 | #ifdef BB_MKTEMP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 264 | APPLET(mktemp, mktemp_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 265 | #endif |
Eric Andersen | 8d79ce8 | 2001-07-22 23:00:15 +0000 | [diff] [blame^] | 266 | #ifdef BB_MODPROBE |
| 267 | APPLET(modprobe, modprobe_main, _BB_DIR_SBIN) |
| 268 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 269 | #ifdef BB_MORE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 270 | APPLET(more, more_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 271 | #endif |
| 272 | #ifdef BB_MOUNT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 273 | APPLET(mount, mount_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 274 | #endif |
| 275 | #ifdef BB_MT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 276 | APPLET(mt, mt_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 277 | #endif |
Matt Kraai | 91b2855 | 2001-04-23 18:53:07 +0000 | [diff] [blame] | 278 | #ifdef BB_MV |
| 279 | APPLET(mv, mv_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 280 | #endif |
| 281 | #ifdef BB_NC |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 282 | APPLET(nc, nc_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 283 | #endif |
| 284 | #ifdef BB_NSLOOKUP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 285 | APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 286 | #endif |
| 287 | #ifdef BB_PING |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 288 | APPLET(ping, ping_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 289 | #endif |
Eric Andersen | 6fd8c66 | 2001-02-13 20:04:30 +0000 | [diff] [blame] | 290 | #ifdef BB_PIVOT_ROOT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 291 | APPLET(pivot_root, pivot_root_main, _BB_DIR_SBIN) |
Eric Andersen | 6fd8c66 | 2001-02-13 20:04:30 +0000 | [diff] [blame] | 292 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 293 | #ifdef BB_POWEROFF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 294 | APPLET(poweroff, poweroff_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 295 | #endif |
| 296 | #ifdef BB_PRINTF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 297 | APPLET(printf, printf_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 298 | #endif |
| 299 | #ifdef BB_PS |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 300 | APPLET(ps, ps_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 301 | #endif |
| 302 | #ifdef BB_PWD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 303 | APPLET(pwd, pwd_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 304 | #endif |
| 305 | #ifdef BB_RDATE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 306 | APPLET(rdate, rdate_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 307 | #endif |
| 308 | #ifdef BB_READLINK |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 309 | APPLET(readlink, readlink_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 310 | #endif |
| 311 | #ifdef BB_REBOOT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 312 | APPLET(reboot, reboot_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 313 | #endif |
| 314 | #ifdef BB_RENICE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 315 | APPLET(renice, renice_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 316 | #endif |
| 317 | #ifdef BB_RESET |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 318 | APPLET(reset, reset_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 319 | #endif |
| 320 | #ifdef BB_RM |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 321 | APPLET(rm, rm_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 322 | #endif |
| 323 | #ifdef BB_RMDIR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 324 | APPLET(rmdir, rmdir_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 325 | #endif |
| 326 | #ifdef BB_RMMOD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 327 | APPLET(rmmod, rmmod_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 328 | #endif |
Eric Andersen | ec45595 | 2001-02-14 08:11:27 +0000 | [diff] [blame] | 329 | #ifdef BB_ROUTE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 330 | APPLET(route, route_main, _BB_DIR_USR_BIN) |
Eric Andersen | ec45595 | 2001-02-14 08:11:27 +0000 | [diff] [blame] | 331 | #endif |
Glenn L McGrath | f8736d2 | 2001-06-26 01:19:34 +0000 | [diff] [blame] | 332 | #ifdef BB_RPM2CPIO |
| 333 | APPLET(rpm2cpio, rpm2cpio_main, _BB_DIR_USR_BIN) |
| 334 | #endif |
Eric Andersen | e500d20 | 2000-11-29 21:38:11 +0000 | [diff] [blame] | 335 | #ifdef BB_RPMUNPACK |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 336 | APPLET(rpmunpack, rpmunpack_main, _BB_DIR_USR_BIN) |
Eric Andersen | e500d20 | 2000-11-29 21:38:11 +0000 | [diff] [blame] | 337 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 338 | #ifdef BB_SED |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 339 | APPLET(sed, sed_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 340 | #endif |
| 341 | #ifdef BB_SETKEYCODES |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 342 | APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 343 | #endif |
| 344 | #ifdef BB_SH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 345 | APPLET(sh, shell_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 346 | #endif |
| 347 | #ifdef BB_SLEEP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 348 | APPLET(sleep, sleep_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 349 | #endif |
| 350 | #ifdef BB_SORT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 351 | APPLET(sort, sort_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 352 | #endif |
Eric Andersen | 98e599c | 2001-02-14 18:47:33 +0000 | [diff] [blame] | 353 | #ifdef BB_STTY |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 354 | APPLET(stty, stty_main, _BB_DIR_BIN) |
Eric Andersen | 98e599c | 2001-02-14 18:47:33 +0000 | [diff] [blame] | 355 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 356 | #ifdef BB_SWAPONOFF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 357 | APPLET(swapoff, swap_on_off_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 358 | #endif |
| 359 | #ifdef BB_SWAPONOFF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 360 | APPLET(swapon, swap_on_off_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 361 | #endif |
| 362 | #ifdef BB_SYNC |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 363 | APPLET(sync, sync_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 364 | #endif |
| 365 | #ifdef BB_SYSLOGD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 366 | APPLET(syslogd, syslogd_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 367 | #endif |
| 368 | #ifdef BB_TAIL |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 369 | APPLET(tail, tail_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 370 | #endif |
| 371 | #ifdef BB_TAR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 372 | APPLET(tar, tar_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 373 | #endif |
| 374 | #ifdef BB_TEE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 375 | APPLET(tee, tee_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 376 | #endif |
| 377 | #ifdef BB_TELNET |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 378 | APPLET(telnet, telnet_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 379 | #endif |
| 380 | #ifdef BB_TEST |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 381 | APPLET(test, test_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 382 | #endif |
Mark Whitley | 450736c | 2001-03-02 19:08:50 +0000 | [diff] [blame] | 383 | #ifdef BB_TFTP |
| 384 | APPLET(tftp, tftp_main, _BB_DIR_USR_BIN) |
| 385 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 386 | #ifdef BB_TOUCH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 387 | APPLET(touch, touch_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 388 | #endif |
| 389 | #ifdef BB_TR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 390 | APPLET(tr, tr_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 391 | #endif |
Eric Andersen | 5c58d28 | 2001-07-10 16:29:00 +0000 | [diff] [blame] | 392 | #ifdef BB_TRACEROUTE |
| 393 | APPLET(traceroute, traceroute_main, _BB_DIR_USR_BIN) |
| 394 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 395 | #ifdef BB_TRUE_FALSE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 396 | APPLET(true, true_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 397 | #endif |
| 398 | #ifdef BB_TTY |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 399 | APPLET(tty, tty_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 400 | #endif |
| 401 | #ifdef BB_UMOUNT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 402 | APPLET(umount, umount_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 403 | #endif |
| 404 | #ifdef BB_UNAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 405 | APPLET(uname, uname_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 406 | #endif |
| 407 | #ifdef BB_UNIQ |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 408 | APPLET(uniq, uniq_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 409 | #endif |
| 410 | #ifdef BB_UNIX2DOS |
Eric Andersen | d22b78f | 2001-07-06 18:33:04 +0000 | [diff] [blame] | 411 | APPLET(unix2dos, unix2dos_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 412 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 413 | #ifdef BB_UPDATE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 414 | APPLET(update, update_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 415 | #endif |
| 416 | #ifdef BB_UPTIME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 417 | APPLET(uptime, uptime_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 418 | #endif |
| 419 | #ifdef BB_USLEEP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 420 | APPLET(usleep, usleep_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 421 | #endif |
| 422 | #ifdef BB_UUDECODE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 423 | APPLET(uudecode, uudecode_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 424 | #endif |
| 425 | #ifdef BB_UUENCODE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 426 | APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 427 | #endif |
Eric Andersen | 3f98040 | 2001-04-04 17:31:15 +0000 | [diff] [blame] | 428 | #ifdef BB_VI |
| 429 | APPLET(vi, vi_main, _BB_DIR_BIN) |
| 430 | #endif |
Eric Andersen | ffde867 | 2001-01-25 23:40:32 +0000 | [diff] [blame] | 431 | #ifdef BB_WATCHDOG |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 432 | APPLET(watchdog, watchdog_main, _BB_DIR_SBIN) |
Eric Andersen | ffde867 | 2001-01-25 23:40:32 +0000 | [diff] [blame] | 433 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 434 | #ifdef BB_WC |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 435 | APPLET(wc, wc_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 436 | #endif |
| 437 | #ifdef BB_WGET |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 438 | APPLET(wget, wget_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 439 | #endif |
| 440 | #ifdef BB_WHICH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 441 | APPLET(which, which_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 442 | #endif |
| 443 | #ifdef BB_WHOAMI |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 444 | APPLET(whoami, whoami_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 445 | #endif |
| 446 | #ifdef BB_XARGS |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 447 | APPLET(xargs, xargs_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 448 | #endif |
| 449 | #ifdef BB_YES |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 450 | APPLET(yes, yes_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 451 | #endif |
| 452 | #ifdef BB_GUNZIP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 453 | APPLET(zcat, gunzip_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 454 | #endif |
Eric Andersen | 8c725e6 | 2000-11-30 00:27:06 +0000 | [diff] [blame] | 455 | |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 456 | #if !defined(PROTOTYPES) && !defined(MAKE_USAGE) |
| 457 | { 0,NULL,0 } |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 458 | }; |
| 459 | |
Eric Andersen | 8c725e6 | 2000-11-30 00:27:06 +0000 | [diff] [blame] | 460 | #endif |