blob: 1fb6dcd9226fa71f5bcf3cc2de2fb89ce2ef573e [file] [log] [blame]
Mark Whitley130005c2000-10-25 00:28:27 +00001/*
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 Andersen67991cf2001-02-14 21:23:06 +000013#undef APPLET
14#undef APPLET_ODDNAME
15#undef APPLET_NOUSAGE
16
Eric Andersen7e9276b2001-02-22 01:15:47 +000017
Eric Andersen868c0572000-12-02 00:44:48 +000018#if defined(PROTOTYPES)
Eric Andersen7e9276b2001-02-22 01:15:47 +000019 #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 Kraaia2e68fc2001-03-27 21:57:29 +000024 #ifdef BB_FEATURE_VERBOSE_USAGE
Eric Andersen7e9276b2001-02-22 01:15:47 +000025 #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 Kraaia2e68fc2001-03-27 21:57:29 +000028 #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 Andersen7e9276b2001-02-22 01:15:47 +000032 #endif
Eric Andersen3574b702001-02-23 02:16:29 +000033#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 Andersen868c0572000-12-02 00:44:48 +000037#else
Eric Andersen7e9276b2001-02-22 01:15:47 +000038 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 Andersen8c725e62000-11-30 00:27:06 +000042#endif
Mark Whitley130005c2000-10-25 00:28:27 +000043
Eric Andersen7e9276b2001-02-22 01:15:47 +000044
45
Mark Whitley130005c2000-10-25 00:28:27 +000046#ifdef BB_TEST
Eric Andersen7e9276b2001-02-22 01:15:47 +000047 APPLET_NOUSAGE("[", test_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000048#endif
Mark Whitley6f932772001-03-20 19:18:10 +000049#ifdef BB_ADJTIMEX
50 APPLET(adjtimex, adjtimex_main, _BB_DIR_SBIN)
51#endif
Mark Whitley130005c2000-10-25 00:28:27 +000052#ifdef BB_AR
Eric Andersen67991cf2001-02-14 21:23:06 +000053 APPLET(ar, ar_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000054#endif
55#ifdef BB_BASENAME
Eric Andersen67991cf2001-02-14 21:23:06 +000056 APPLET(basename, basename_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000057#endif
Eric Andersen7e9276b2001-02-22 01:15:47 +000058 APPLET_NOUSAGE("busybox", busybox_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000059#ifdef BB_CAT
Eric Andersen67991cf2001-02-14 21:23:06 +000060 APPLET(cat, cat_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000061#endif
Eric Andersen9f0fedb2001-04-24 18:07:19 +000062#ifdef BB_CHGRP
63 APPLET(chgrp, chgrp_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000064#endif
Eric Andersen9f0fedb2001-04-24 18:07:19 +000065#ifdef BB_CHMOD
66 APPLET(chmod, chmod_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000067#endif
Eric Andersen9f0fedb2001-04-24 18:07:19 +000068#ifdef BB_CHOWN
69 APPLET(chown, chown_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000070#endif
71#ifdef BB_CHROOT
Eric Andersen67991cf2001-02-14 21:23:06 +000072 APPLET(chroot, chroot_main, _BB_DIR_USR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +000073#endif
74#ifdef BB_CHVT
Eric Andersen67991cf2001-02-14 21:23:06 +000075 APPLET(chvt, chvt_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000076#endif
77#ifdef BB_CLEAR
Eric Andersen67991cf2001-02-14 21:23:06 +000078 APPLET(clear, clear_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000079#endif
80#ifdef BB_CMP
Eric Andersen67991cf2001-02-14 21:23:06 +000081 APPLET(cmp, cmp_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000082#endif
Matt Kraai91b28552001-04-23 18:53:07 +000083#ifdef BB_CP
84 APPLET(cp, cp_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000085#endif
Glenn L McGrath8f5b63e2001-06-22 09:22:06 +000086#ifdef BB_CPIO
87 APPLET(cpio, cpio_main, _BB_DIR_BIN)
88#endif
Mark Whitley130005c2000-10-25 00:28:27 +000089#ifdef BB_CUT
Eric Andersen67991cf2001-02-14 21:23:06 +000090 APPLET(cut, cut_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000091#endif
92#ifdef BB_DATE
Eric Andersen67991cf2001-02-14 21:23:06 +000093 APPLET(date, date_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000094#endif
95#ifdef BB_DC
Eric Andersen67991cf2001-02-14 21:23:06 +000096 APPLET(dc, dc_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +000097#endif
98#ifdef BB_DD
Eric Andersen67991cf2001-02-14 21:23:06 +000099 APPLET(dd, dd_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000100#endif
101#ifdef BB_DEALLOCVT
Eric Andersen67991cf2001-02-14 21:23:06 +0000102 APPLET(deallocvt, deallocvt_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000103#endif
104#ifdef BB_DF
Eric Andersen67991cf2001-02-14 21:23:06 +0000105 APPLET(df, df_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000106#endif
107#ifdef BB_DIRNAME
Eric Andersen67991cf2001-02-14 21:23:06 +0000108 APPLET(dirname, dirname_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000109#endif
110#ifdef BB_DMESG
Eric Andersen67991cf2001-02-14 21:23:06 +0000111 APPLET(dmesg, dmesg_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000112#endif
113#ifdef BB_DOS2UNIX
Eric Andersen67991cf2001-02-14 21:23:06 +0000114 APPLET(dos2unix, dos2unix_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000115#endif
Glenn L McGrathc30ab0f2001-02-10 02:04:40 +0000116#ifdef BB_DPKG
Eric Andersen67991cf2001-02-14 21:23:06 +0000117 APPLET(dpkg, dpkg_main, _BB_DIR_USR_BIN)
Glenn L McGrathc30ab0f2001-02-10 02:04:40 +0000118#endif
Glenn L McGrath7541e3a2001-01-02 23:41:50 +0000119#ifdef BB_DPKG_DEB
Eric Andersen7e9276b2001-02-22 01:15:47 +0000120 APPLET_ODDNAME("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, dpkg_deb)
Glenn L McGrath7541e3a2001-01-02 23:41:50 +0000121#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000122#ifdef BB_DU
Eric Andersen67991cf2001-02-14 21:23:06 +0000123 APPLET(du, du_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000124#endif
125#ifdef BB_DUMPKMAP
Eric Andersen67991cf2001-02-14 21:23:06 +0000126 APPLET(dumpkmap, dumpkmap_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000127#endif
128#ifdef BB_DUTMP
Eric Andersen67991cf2001-02-14 21:23:06 +0000129 APPLET(dutmp, dutmp_main, _BB_DIR_USR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000130#endif
131#ifdef BB_ECHO
Eric Andersen67991cf2001-02-14 21:23:06 +0000132 APPLET(echo, echo_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000133#endif
Mark Whitley40e5e7c2001-03-14 17:45:45 +0000134#if defined(BB_FEATURE_GREP_EGREP_ALIAS) && defined(BB_GREP)
Eric Andersene2a3cd12001-03-16 23:49:20 +0000135 APPLET_NOUSAGE("egrep", grep_main, _BB_DIR_BIN)
Mark Whitley40e5e7c2001-03-14 17:45:45 +0000136#endif
Eric Andersen84e229c2001-03-29 22:48:33 +0000137#ifdef BB_ENV
138 APPLET(env, env_main, _BB_DIR_USR_BIN)
139#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000140#ifdef BB_EXPR
Eric Andersen67991cf2001-02-14 21:23:06 +0000141 APPLET(expr, expr_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000142#endif
143#ifdef BB_TRUE_FALSE
Eric Andersen67991cf2001-02-14 21:23:06 +0000144 APPLET(false, false_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000145#endif
146#ifdef BB_FBSET
Eric Andersen0d3a02e2001-03-15 18:14:25 +0000147 APPLET(fbset, fbset_main, _BB_DIR_USR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000148#endif
149#ifdef BB_FDFLUSH
Eric Andersen67991cf2001-02-14 21:23:06 +0000150 APPLET(fdflush, fdflush_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000151#endif
152#ifdef BB_FIND
Eric Andersen67991cf2001-02-14 21:23:06 +0000153 APPLET(find, find_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000154#endif
155#ifdef BB_FREE
Eric Andersen67991cf2001-02-14 21:23:06 +0000156 APPLET(free, free_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000157#endif
158#ifdef BB_FREERAMDISK
Eric Andersen67991cf2001-02-14 21:23:06 +0000159 APPLET(freeramdisk, freeramdisk_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000160#endif
161#ifdef BB_FSCK_MINIX
Eric Andersen7e9276b2001-02-22 01:15:47 +0000162 APPLET_ODDNAME("fsck.minix", fsck_minix_main, _BB_DIR_SBIN, fsck_minix)
Mark Whitley130005c2000-10-25 00:28:27 +0000163#endif
164#ifdef BB_GETOPT
Eric Andersen67991cf2001-02-14 21:23:06 +0000165 APPLET(getopt, getopt_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000166#endif
167#ifdef BB_GREP
Eric Andersen67991cf2001-02-14 21:23:06 +0000168 APPLET(grep, grep_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000169#endif
170#ifdef BB_GUNZIP
Eric Andersen67991cf2001-02-14 21:23:06 +0000171 APPLET(gunzip, gunzip_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000172#endif
173#ifdef BB_GZIP
Eric Andersen67991cf2001-02-14 21:23:06 +0000174 APPLET(gzip, gzip_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000175#endif
176#ifdef BB_HALT
Eric Andersen67991cf2001-02-14 21:23:06 +0000177 APPLET(halt, halt_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000178#endif
179#ifdef BB_HEAD
Eric Andersen67991cf2001-02-14 21:23:06 +0000180 APPLET(head, head_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000181#endif
182#ifdef BB_HOSTID
Eric Andersen67991cf2001-02-14 21:23:06 +0000183 APPLET(hostid, hostid_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000184#endif
185#ifdef BB_HOSTNAME
Eric Andersen67991cf2001-02-14 21:23:06 +0000186 APPLET(hostname, hostname_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000187#endif
188#ifdef BB_ID
Eric Andersen67991cf2001-02-14 21:23:06 +0000189 APPLET(id, id_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000190#endif
Eric Andersenec455952001-02-14 08:11:27 +0000191#ifdef BB_IFCONFIG
Eric Andersen67991cf2001-02-14 21:23:06 +0000192 APPLET(ifconfig, ifconfig_main, _BB_DIR_SBIN)
Eric Andersenec455952001-02-14 08:11:27 +0000193#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000194#ifdef BB_INIT
Eric Andersen67991cf2001-02-14 21:23:06 +0000195 APPLET(init, init_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000196#endif
197#ifdef BB_INSMOD
Eric Andersen67991cf2001-02-14 21:23:06 +0000198 APPLET(insmod, insmod_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000199#endif
200#ifdef BB_KILL
Eric Andersen67991cf2001-02-14 21:23:06 +0000201 APPLET(kill, kill_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000202#endif
203#ifdef BB_KILLALL
Eric Andersen67991cf2001-02-14 21:23:06 +0000204 APPLET(killall, kill_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000205#endif
Mark Whitley6317c4b2001-03-12 22:51:50 +0000206#ifdef BB_KLOGD
207 APPLET(klogd, klogd_main, _BB_DIR_SBIN)
208#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000209#ifdef BB_LENGTH
Eric Andersen67991cf2001-02-14 21:23:06 +0000210 APPLET(length, length_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000211#endif
Eric Andersen2825ee82001-03-15 18:58:06 +0000212#ifdef BB_FEATURE_LINUXRC
Eric Andersen7e9276b2001-02-22 01:15:47 +0000213 APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT)
Mark Whitley130005c2000-10-25 00:28:27 +0000214#endif
215#ifdef BB_LN
Eric Andersen67991cf2001-02-14 21:23:06 +0000216 APPLET(ln, ln_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000217#endif
218#ifdef BB_LOADACM
Eric Andersen67991cf2001-02-14 21:23:06 +0000219 APPLET(loadacm, loadacm_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000220#endif
221#ifdef BB_LOADFONT
Eric Andersen67991cf2001-02-14 21:23:06 +0000222 APPLET(loadfont, loadfont_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000223#endif
224#ifdef BB_LOADKMAP
Eric Andersen67991cf2001-02-14 21:23:06 +0000225 APPLET(loadkmap, loadkmap_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000226#endif
227#ifdef BB_LOGGER
Eric Andersen67991cf2001-02-14 21:23:06 +0000228 APPLET(logger, logger_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000229#endif
230#ifdef BB_LOGNAME
Eric Andersen67991cf2001-02-14 21:23:06 +0000231 APPLET(logname, logname_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000232#endif
Mark Whitley6317c4b2001-03-12 22:51:50 +0000233#ifdef BB_LOGREAD
234 APPLET(logread, logread_main, _BB_DIR_SBIN)
235#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000236#ifdef BB_LS
Eric Andersen67991cf2001-02-14 21:23:06 +0000237 APPLET(ls, ls_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000238#endif
239#ifdef BB_LSMOD
Eric Andersen67991cf2001-02-14 21:23:06 +0000240 APPLET(lsmod, lsmod_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000241#endif
242#ifdef BB_MAKEDEVS
Eric Andersen67991cf2001-02-14 21:23:06 +0000243 APPLET(makedevs, makedevs_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000244#endif
245#ifdef BB_MD5SUM
Eric Andersen67991cf2001-02-14 21:23:06 +0000246 APPLET(md5sum, md5sum_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000247#endif
248#ifdef BB_MKDIR
Eric Andersen67991cf2001-02-14 21:23:06 +0000249 APPLET(mkdir, mkdir_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000250#endif
251#ifdef BB_MKFIFO
Eric Andersen67991cf2001-02-14 21:23:06 +0000252 APPLET(mkfifo, mkfifo_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000253#endif
254#ifdef BB_MKFS_MINIX
Eric Andersen7e9276b2001-02-22 01:15:47 +0000255 APPLET_ODDNAME("mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN, mkfs_minix)
Mark Whitley130005c2000-10-25 00:28:27 +0000256#endif
257#ifdef BB_MKNOD
Eric Andersen67991cf2001-02-14 21:23:06 +0000258 APPLET(mknod, mknod_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000259#endif
260#ifdef BB_MKSWAP
Eric Andersen67991cf2001-02-14 21:23:06 +0000261 APPLET(mkswap, mkswap_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000262#endif
263#ifdef BB_MKTEMP
Eric Andersen67991cf2001-02-14 21:23:06 +0000264 APPLET(mktemp, mktemp_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000265#endif
Eric Andersen8d79ce82001-07-22 23:00:15 +0000266#ifdef BB_MODPROBE
267 APPLET(modprobe, modprobe_main, _BB_DIR_SBIN)
268#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000269#ifdef BB_MORE
Eric Andersen67991cf2001-02-14 21:23:06 +0000270 APPLET(more, more_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000271#endif
272#ifdef BB_MOUNT
Eric Andersen67991cf2001-02-14 21:23:06 +0000273 APPLET(mount, mount_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000274#endif
275#ifdef BB_MT
Eric Andersen67991cf2001-02-14 21:23:06 +0000276 APPLET(mt, mt_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000277#endif
Matt Kraai91b28552001-04-23 18:53:07 +0000278#ifdef BB_MV
279 APPLET(mv, mv_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000280#endif
281#ifdef BB_NC
Eric Andersen67991cf2001-02-14 21:23:06 +0000282 APPLET(nc, nc_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000283#endif
284#ifdef BB_NSLOOKUP
Eric Andersen67991cf2001-02-14 21:23:06 +0000285 APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000286#endif
287#ifdef BB_PING
Eric Andersen67991cf2001-02-14 21:23:06 +0000288 APPLET(ping, ping_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000289#endif
Eric Andersen6fd8c662001-02-13 20:04:30 +0000290#ifdef BB_PIVOT_ROOT
Eric Andersen67991cf2001-02-14 21:23:06 +0000291 APPLET(pivot_root, pivot_root_main, _BB_DIR_SBIN)
Eric Andersen6fd8c662001-02-13 20:04:30 +0000292#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000293#ifdef BB_POWEROFF
Eric Andersen67991cf2001-02-14 21:23:06 +0000294 APPLET(poweroff, poweroff_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000295#endif
296#ifdef BB_PRINTF
Eric Andersen67991cf2001-02-14 21:23:06 +0000297 APPLET(printf, printf_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000298#endif
299#ifdef BB_PS
Eric Andersen67991cf2001-02-14 21:23:06 +0000300 APPLET(ps, ps_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000301#endif
302#ifdef BB_PWD
Eric Andersen67991cf2001-02-14 21:23:06 +0000303 APPLET(pwd, pwd_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000304#endif
305#ifdef BB_RDATE
Eric Andersen67991cf2001-02-14 21:23:06 +0000306 APPLET(rdate, rdate_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000307#endif
308#ifdef BB_READLINK
Eric Andersen67991cf2001-02-14 21:23:06 +0000309 APPLET(readlink, readlink_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000310#endif
311#ifdef BB_REBOOT
Eric Andersen67991cf2001-02-14 21:23:06 +0000312 APPLET(reboot, reboot_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000313#endif
314#ifdef BB_RENICE
Eric Andersen67991cf2001-02-14 21:23:06 +0000315 APPLET(renice, renice_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000316#endif
317#ifdef BB_RESET
Eric Andersen67991cf2001-02-14 21:23:06 +0000318 APPLET(reset, reset_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000319#endif
320#ifdef BB_RM
Eric Andersen67991cf2001-02-14 21:23:06 +0000321 APPLET(rm, rm_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000322#endif
323#ifdef BB_RMDIR
Eric Andersen67991cf2001-02-14 21:23:06 +0000324 APPLET(rmdir, rmdir_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000325#endif
326#ifdef BB_RMMOD
Eric Andersen67991cf2001-02-14 21:23:06 +0000327 APPLET(rmmod, rmmod_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000328#endif
Eric Andersenec455952001-02-14 08:11:27 +0000329#ifdef BB_ROUTE
Eric Andersen67991cf2001-02-14 21:23:06 +0000330 APPLET(route, route_main, _BB_DIR_USR_BIN)
Eric Andersenec455952001-02-14 08:11:27 +0000331#endif
Glenn L McGrathf8736d22001-06-26 01:19:34 +0000332#ifdef BB_RPM2CPIO
333 APPLET(rpm2cpio, rpm2cpio_main, _BB_DIR_USR_BIN)
334#endif
Eric Andersene500d202000-11-29 21:38:11 +0000335#ifdef BB_RPMUNPACK
Eric Andersen67991cf2001-02-14 21:23:06 +0000336 APPLET(rpmunpack, rpmunpack_main, _BB_DIR_USR_BIN)
Eric Andersene500d202000-11-29 21:38:11 +0000337#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000338#ifdef BB_SED
Eric Andersen67991cf2001-02-14 21:23:06 +0000339 APPLET(sed, sed_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000340#endif
341#ifdef BB_SETKEYCODES
Eric Andersen67991cf2001-02-14 21:23:06 +0000342 APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000343#endif
344#ifdef BB_SH
Eric Andersen67991cf2001-02-14 21:23:06 +0000345 APPLET(sh, shell_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000346#endif
347#ifdef BB_SLEEP
Eric Andersen67991cf2001-02-14 21:23:06 +0000348 APPLET(sleep, sleep_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000349#endif
350#ifdef BB_SORT
Eric Andersen67991cf2001-02-14 21:23:06 +0000351 APPLET(sort, sort_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000352#endif
Eric Andersen98e599c2001-02-14 18:47:33 +0000353#ifdef BB_STTY
Eric Andersen67991cf2001-02-14 21:23:06 +0000354 APPLET(stty, stty_main, _BB_DIR_BIN)
Eric Andersen98e599c2001-02-14 18:47:33 +0000355#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000356#ifdef BB_SWAPONOFF
Eric Andersen67991cf2001-02-14 21:23:06 +0000357 APPLET(swapoff, swap_on_off_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000358#endif
359#ifdef BB_SWAPONOFF
Eric Andersen67991cf2001-02-14 21:23:06 +0000360 APPLET(swapon, swap_on_off_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000361#endif
362#ifdef BB_SYNC
Eric Andersen67991cf2001-02-14 21:23:06 +0000363 APPLET(sync, sync_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000364#endif
365#ifdef BB_SYSLOGD
Eric Andersen67991cf2001-02-14 21:23:06 +0000366 APPLET(syslogd, syslogd_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000367#endif
368#ifdef BB_TAIL
Eric Andersen67991cf2001-02-14 21:23:06 +0000369 APPLET(tail, tail_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000370#endif
371#ifdef BB_TAR
Eric Andersen67991cf2001-02-14 21:23:06 +0000372 APPLET(tar, tar_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000373#endif
374#ifdef BB_TEE
Eric Andersen67991cf2001-02-14 21:23:06 +0000375 APPLET(tee, tee_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000376#endif
377#ifdef BB_TELNET
Eric Andersen67991cf2001-02-14 21:23:06 +0000378 APPLET(telnet, telnet_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000379#endif
380#ifdef BB_TEST
Eric Andersen67991cf2001-02-14 21:23:06 +0000381 APPLET(test, test_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000382#endif
Mark Whitley450736c2001-03-02 19:08:50 +0000383#ifdef BB_TFTP
384 APPLET(tftp, tftp_main, _BB_DIR_USR_BIN)
385#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000386#ifdef BB_TOUCH
Eric Andersen67991cf2001-02-14 21:23:06 +0000387 APPLET(touch, touch_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000388#endif
389#ifdef BB_TR
Eric Andersen67991cf2001-02-14 21:23:06 +0000390 APPLET(tr, tr_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000391#endif
Eric Andersen5c58d282001-07-10 16:29:00 +0000392#ifdef BB_TRACEROUTE
393 APPLET(traceroute, traceroute_main, _BB_DIR_USR_BIN)
394#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000395#ifdef BB_TRUE_FALSE
Eric Andersen67991cf2001-02-14 21:23:06 +0000396 APPLET(true, true_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000397#endif
398#ifdef BB_TTY
Eric Andersen67991cf2001-02-14 21:23:06 +0000399 APPLET(tty, tty_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000400#endif
401#ifdef BB_UMOUNT
Eric Andersen67991cf2001-02-14 21:23:06 +0000402 APPLET(umount, umount_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000403#endif
404#ifdef BB_UNAME
Eric Andersen67991cf2001-02-14 21:23:06 +0000405 APPLET(uname, uname_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000406#endif
407#ifdef BB_UNIQ
Eric Andersen67991cf2001-02-14 21:23:06 +0000408 APPLET(uniq, uniq_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000409#endif
410#ifdef BB_UNIX2DOS
Eric Andersend22b78f2001-07-06 18:33:04 +0000411 APPLET(unix2dos, unix2dos_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000412#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000413#ifdef BB_UPDATE
Eric Andersen67991cf2001-02-14 21:23:06 +0000414 APPLET(update, update_main, _BB_DIR_SBIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000415#endif
416#ifdef BB_UPTIME
Eric Andersen67991cf2001-02-14 21:23:06 +0000417 APPLET(uptime, uptime_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000418#endif
419#ifdef BB_USLEEP
Eric Andersen67991cf2001-02-14 21:23:06 +0000420 APPLET(usleep, usleep_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000421#endif
422#ifdef BB_UUDECODE
Eric Andersen67991cf2001-02-14 21:23:06 +0000423 APPLET(uudecode, uudecode_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000424#endif
425#ifdef BB_UUENCODE
Eric Andersen67991cf2001-02-14 21:23:06 +0000426 APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000427#endif
Eric Andersen3f980402001-04-04 17:31:15 +0000428#ifdef BB_VI
429 APPLET(vi, vi_main, _BB_DIR_BIN)
430#endif
Eric Andersenffde8672001-01-25 23:40:32 +0000431#ifdef BB_WATCHDOG
Eric Andersen67991cf2001-02-14 21:23:06 +0000432 APPLET(watchdog, watchdog_main, _BB_DIR_SBIN)
Eric Andersenffde8672001-01-25 23:40:32 +0000433#endif
Mark Whitley130005c2000-10-25 00:28:27 +0000434#ifdef BB_WC
Eric Andersen67991cf2001-02-14 21:23:06 +0000435 APPLET(wc, wc_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000436#endif
437#ifdef BB_WGET
Eric Andersen67991cf2001-02-14 21:23:06 +0000438 APPLET(wget, wget_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000439#endif
440#ifdef BB_WHICH
Eric Andersen67991cf2001-02-14 21:23:06 +0000441 APPLET(which, which_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000442#endif
443#ifdef BB_WHOAMI
Eric Andersen67991cf2001-02-14 21:23:06 +0000444 APPLET(whoami, whoami_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000445#endif
446#ifdef BB_XARGS
Eric Andersen67991cf2001-02-14 21:23:06 +0000447 APPLET(xargs, xargs_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000448#endif
449#ifdef BB_YES
Eric Andersen67991cf2001-02-14 21:23:06 +0000450 APPLET(yes, yes_main, _BB_DIR_USR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000451#endif
452#ifdef BB_GUNZIP
Eric Andersen67991cf2001-02-14 21:23:06 +0000453 APPLET(zcat, gunzip_main, _BB_DIR_BIN)
Mark Whitley130005c2000-10-25 00:28:27 +0000454#endif
Eric Andersen8c725e62000-11-30 00:27:06 +0000455
Eric Andersen7e9276b2001-02-22 01:15:47 +0000456#if !defined(PROTOTYPES) && !defined(MAKE_USAGE)
457 { 0,NULL,0 }
Mark Whitley130005c2000-10-25 00:28:27 +0000458};
459
Eric Andersen8c725e62000-11-30 00:27:06 +0000460#endif