2000-10-25 00:28:27 +00:00
|
|
|
/*
|
|
|
|
* applets.h - a listing of all busybox applets.
|
|
|
|
*
|
|
|
|
* If you write a new applet, you need to add an entry to this list to make
|
|
|
|
* busybox aware of it.
|
|
|
|
*
|
|
|
|
* It is CRUCIAL that this listing be kept in ascii order, otherwise the binary
|
|
|
|
* search lookup contributed by Gaute B Strokkenes stops working. If you value
|
|
|
|
* your kneecaps, you'll be sure to *make sure* that any changes made to this
|
|
|
|
* file result in the listing remaining in ascii order. You have been warned.
|
|
|
|
*/
|
|
|
|
|
2001-02-14 21:23:06 +00:00
|
|
|
#undef APPLET
|
|
|
|
#undef APPLET_ODDNAME
|
|
|
|
#undef APPLET_NOUSAGE
|
|
|
|
|
2001-02-22 01:15:47 +00:00
|
|
|
|
2000-12-02 00:44:48 +00:00
|
|
|
#if defined(PROTOTYPES)
|
2001-02-22 01:15:47 +00:00
|
|
|
#define APPLET(a,b,c) extern int b(int argc, char **argv);
|
|
|
|
#define APPLET_NOUSAGE(a,b,c) extern int b(int argc, char **argv);
|
|
|
|
#define APPLET_ODDNAME(a,b,c,d) extern int b(int argc, char **argv);
|
|
|
|
extern const char usage_messages[];
|
|
|
|
#elif defined(MAKE_USAGE)
|
2001-03-27 21:57:29 +00:00
|
|
|
#ifdef BB_FEATURE_VERBOSE_USAGE
|
2001-02-22 01:15:47 +00:00
|
|
|
#define APPLET(a,b,c) a##_trivial_usage "\n\n" a##_full_usage "\0"
|
|
|
|
#define APPLET_NOUSAGE(a,b,c) "\0"
|
|
|
|
#define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\n\n" d##_full_usage "\0"
|
2001-03-27 21:57:29 +00:00
|
|
|
#else
|
|
|
|
#define APPLET(a,b,c) a##_trivial_usage "\0"
|
|
|
|
#define APPLET_NOUSAGE(a,b,c) "\0"
|
|
|
|
#define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\0"
|
2001-02-22 01:15:47 +00:00
|
|
|
#endif
|
2001-02-23 02:16:29 +00:00
|
|
|
#elif defined(MAKE_LINKS)
|
|
|
|
# define APPLET(a,b,c) LINK c a
|
|
|
|
# define APPLET_NOUSAGE(a,b,c) LINK c a
|
|
|
|
# define APPLET_ODDNAME(a,b,c,d) LINK c a
|
2000-12-02 00:44:48 +00:00
|
|
|
#else
|
2001-02-22 01:15:47 +00:00
|
|
|
const struct BB_applet applets[] = {
|
|
|
|
#define APPLET(a,b,c) {#a,b,c},
|
|
|
|
#define APPLET_NOUSAGE(a,b,c) {a,b,c},
|
|
|
|
#define APPLET_ODDNAME(a,b,c,d) {a,b,c},
|
2000-11-30 00:27:06 +00:00
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
|
2001-02-22 01:15:47 +00:00
|
|
|
|
|
|
|
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_TEST
|
2001-02-22 01:15:47 +00:00
|
|
|
APPLET_NOUSAGE("[", test_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-08-21 16:18:59 +00:00
|
|
|
#ifdef BB_ADDGROUP
|
|
|
|
APPLET(addgroup, addgroup_main, _BB_DIR_BIN)
|
|
|
|
#endif
|
|
|
|
#ifdef BB_ADDUSER
|
|
|
|
APPLET(adduser, adduser_main, _BB_DIR_BIN)
|
|
|
|
#endif
|
2001-03-20 19:18:10 +00:00
|
|
|
#ifdef BB_ADJTIMEX
|
|
|
|
APPLET(adjtimex, adjtimex_main, _BB_DIR_SBIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_AR
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(ar, ar_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-08-01 17:21:35 +00:00
|
|
|
#ifdef BB_ASH
|
|
|
|
APPLET_NOUSAGE("ash", ash_main, _BB_DIR_BIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_BASENAME
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(basename, basename_main, _BB_DIR_USR_BIN)
|
2001-10-05 03:48:57 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_BUNZIP2
|
|
|
|
APPLET(bunzip2, bunzip2_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-02-22 01:15:47 +00:00
|
|
|
APPLET_NOUSAGE("busybox", busybox_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_CAT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(cat, cat_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-04-24 18:07:19 +00:00
|
|
|
#ifdef BB_CHGRP
|
|
|
|
APPLET(chgrp, chgrp_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-04-24 18:07:19 +00:00
|
|
|
#ifdef BB_CHMOD
|
|
|
|
APPLET(chmod, chmod_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-04-24 18:07:19 +00:00
|
|
|
#ifdef BB_CHOWN
|
|
|
|
APPLET(chown, chown_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CHROOT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(chroot, chroot_main, _BB_DIR_USR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CHVT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(chvt, chvt_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CLEAR
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(clear, clear_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CMP
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(cmp, cmp_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-04-23 18:53:07 +00:00
|
|
|
#ifdef BB_CP
|
|
|
|
APPLET(cp, cp_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-06-22 09:22:06 +00:00
|
|
|
#ifdef BB_CPIO
|
|
|
|
APPLET(cpio, cpio_main, _BB_DIR_BIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_CUT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(cut, cut_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DATE
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(date, date_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DC
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(dc, dc_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DD
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(dd, dd_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DEALLOCVT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(deallocvt, deallocvt_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-08-21 16:18:59 +00:00
|
|
|
#ifdef BB_DELGROUP
|
|
|
|
APPLET(delgroup, delgroup_main, _BB_DIR_BIN)
|
|
|
|
#endif
|
|
|
|
#ifdef BB_DELUSER
|
|
|
|
APPLET(deluser, deluser_main, _BB_DIR_BIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_DF
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(df, df_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DIRNAME
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(dirname, dirname_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DMESG
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(dmesg, dmesg_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DOS2UNIX
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(dos2unix, dos2unix_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-02-10 02:04:40 +00:00
|
|
|
#ifdef BB_DPKG
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(dpkg, dpkg_main, _BB_DIR_USR_BIN)
|
2001-02-10 02:04:40 +00:00
|
|
|
#endif
|
2001-01-02 23:41:50 +00:00
|
|
|
#ifdef BB_DPKG_DEB
|
2001-02-22 01:15:47 +00:00
|
|
|
APPLET_ODDNAME("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, dpkg_deb)
|
2001-01-02 23:41:50 +00:00
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_DU
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(du, du_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DUMPKMAP
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(dumpkmap, dumpkmap_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DUTMP
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(dutmp, dutmp_main, _BB_DIR_USR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_ECHO
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(echo, echo_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-03-14 17:45:45 +00:00
|
|
|
#if defined(BB_FEATURE_GREP_EGREP_ALIAS) && defined(BB_GREP)
|
2001-03-16 23:49:20 +00:00
|
|
|
APPLET_NOUSAGE("egrep", grep_main, _BB_DIR_BIN)
|
2001-03-14 17:45:45 +00:00
|
|
|
#endif
|
2001-03-29 22:48:33 +00:00
|
|
|
#ifdef BB_ENV
|
|
|
|
APPLET(env, env_main, _BB_DIR_USR_BIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_EXPR
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(expr, expr_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TRUE_FALSE
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(false, false_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_FBSET
|
2001-03-15 18:14:25 +00:00
|
|
|
APPLET(fbset, fbset_main, _BB_DIR_USR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_FDFLUSH
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(fdflush, fdflush_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_FIND
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(find, find_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_FREE
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(free, free_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_FREERAMDISK
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(freeramdisk, freeramdisk_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_FSCK_MINIX
|
2001-02-22 01:15:47 +00:00
|
|
|
APPLET_ODDNAME("fsck.minix", fsck_minix_main, _BB_DIR_SBIN, fsck_minix)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_GETOPT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(getopt, getopt_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-08-21 16:18:59 +00:00
|
|
|
#ifdef BB_GETTY
|
|
|
|
APPLET(getty, getty_main, _BB_DIR_SBIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_GREP
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(grep, grep_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_GUNZIP
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(gunzip, gunzip_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_GZIP
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(gzip, gzip_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_HALT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(halt, halt_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_HEAD
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(head, head_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_HOSTID
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(hostid, hostid_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_HOSTNAME
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(hostname, hostname_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-08-01 17:21:35 +00:00
|
|
|
#ifdef BB_HUSH
|
|
|
|
APPLET_NOUSAGE("hush", hush_main, _BB_DIR_BIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_ID
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(id, id_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-02-14 08:11:27 +00:00
|
|
|
#ifdef BB_IFCONFIG
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(ifconfig, ifconfig_main, _BB_DIR_SBIN)
|
2001-02-14 08:11:27 +00:00
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_INIT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(init, init_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_INSMOD
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(insmod, insmod_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_KILL
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(kill, kill_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_KILLALL
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(killall, kill_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-03-12 22:51:50 +00:00
|
|
|
#ifdef BB_KLOGD
|
|
|
|
APPLET(klogd, klogd_main, _BB_DIR_SBIN)
|
|
|
|
#endif
|
2001-08-01 17:21:35 +00:00
|
|
|
#ifdef BB_LASH
|
|
|
|
APPLET(lash, lash_main, _BB_DIR_BIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_LENGTH
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(length, length_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-03-15 18:58:06 +00:00
|
|
|
#ifdef BB_FEATURE_LINUXRC
|
2001-02-22 01:15:47 +00:00
|
|
|
APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LN
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(ln, ln_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LOADACM
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(loadacm, loadacm_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LOADFONT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(loadfont, loadfont_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LOADKMAP
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(loadkmap, loadkmap_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LOGGER
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(logger, logger_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LOGNAME
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(logname, logname_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-03-12 22:51:50 +00:00
|
|
|
#ifdef BB_LOGREAD
|
|
|
|
APPLET(logread, logread_main, _BB_DIR_SBIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_LS
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(ls, ls_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LSMOD
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(lsmod, lsmod_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MAKEDEVS
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(makedevs, makedevs_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MD5SUM
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(md5sum, md5sum_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MKDIR
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(mkdir, mkdir_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MKFIFO
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(mkfifo, mkfifo_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MKFS_MINIX
|
2001-02-22 01:15:47 +00:00
|
|
|
APPLET_ODDNAME("mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN, mkfs_minix)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MKNOD
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(mknod, mknod_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MKSWAP
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(mkswap, mkswap_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MKTEMP
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(mktemp, mktemp_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-07-22 23:00:15 +00:00
|
|
|
#ifdef BB_MODPROBE
|
|
|
|
APPLET(modprobe, modprobe_main, _BB_DIR_SBIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_MORE
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(more, more_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MOUNT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(mount, mount_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-08-01 17:21:35 +00:00
|
|
|
#ifdef BB_MSH
|
|
|
|
APPLET_NOUSAGE("msh", msh_main, _BB_DIR_BIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_MT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(mt, mt_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-04-23 18:53:07 +00:00
|
|
|
#ifdef BB_MV
|
|
|
|
APPLET(mv, mv_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_NC
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(nc, nc_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_NSLOOKUP
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-07-31 19:06:07 +00:00
|
|
|
#ifdef BB_PIDOF
|
|
|
|
APPLET(pidof, pidof_main, _BB_DIR_BIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_PING
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(ping, ping_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-02-13 20:04:30 +00:00
|
|
|
#ifdef BB_PIVOT_ROOT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(pivot_root, pivot_root_main, _BB_DIR_SBIN)
|
2001-02-13 20:04:30 +00:00
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_POWEROFF
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(poweroff, poweroff_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_PRINTF
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(printf, printf_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_PS
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(ps, ps_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_PWD
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(pwd, pwd_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_RDATE
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(rdate, rdate_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_READLINK
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(readlink, readlink_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_REBOOT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(reboot, reboot_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_RENICE
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(renice, renice_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_RESET
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(reset, reset_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_RM
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(rm, rm_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_RMDIR
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(rmdir, rmdir_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_RMMOD
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(rmmod, rmmod_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-02-14 08:11:27 +00:00
|
|
|
#ifdef BB_ROUTE
|
2001-09-16 02:00:09 +00:00
|
|
|
APPLET(route, route_main, _BB_DIR_SBIN)
|
2001-02-14 08:11:27 +00:00
|
|
|
#endif
|
2001-06-26 01:19:34 +00:00
|
|
|
#ifdef BB_RPM2CPIO
|
|
|
|
APPLET(rpm2cpio, rpm2cpio_main, _BB_DIR_USR_BIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_SED
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(sed, sed_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SETKEYCODES
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-08-02 08:48:03 +00:00
|
|
|
#if defined(BB_FEATURE_SH_IS_ASH) && defined(BB_ASH)
|
2001-08-01 17:21:35 +00:00
|
|
|
APPLET_NOUSAGE("sh", ash_main, _BB_DIR_BIN)
|
2001-08-02 08:48:03 +00:00
|
|
|
#elif defined(BB_FEATURE_SH_IS_HUSH) && defined(BB_HUSH)
|
2001-08-01 17:21:35 +00:00
|
|
|
APPLET_NOUSAGE("sh", hush_main, _BB_DIR_BIN)
|
2001-08-02 08:48:03 +00:00
|
|
|
#elif defined(BB_FEATURE_SH_IS_LASH) && defined(BB_LASH)
|
2001-08-01 17:21:35 +00:00
|
|
|
APPLET_NOUSAGE("sh", lash_main, _BB_DIR_BIN)
|
2001-08-02 08:48:03 +00:00
|
|
|
#elif defined(BB_FEATURE_SH_IS_MSH) && defined(BB_MSH)
|
2001-08-01 17:21:35 +00:00
|
|
|
APPLET_NOUSAGE("sh", msh_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SLEEP
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(sleep, sleep_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SORT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(sort, sort_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-10-18 19:33:06 +00:00
|
|
|
#ifdef BB_START_STOP_DAEMON
|
|
|
|
APPLET_ODDNAME("start-stop-daemon", start_stop_daemon_main, _BB_DIR_SBIN, start_stop_daemon)
|
|
|
|
#endif
|
2001-02-14 18:47:33 +00:00
|
|
|
#ifdef BB_STTY
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(stty, stty_main, _BB_DIR_BIN)
|
2001-02-14 18:47:33 +00:00
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_SWAPONOFF
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(swapoff, swap_on_off_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SWAPONOFF
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(swapon, swap_on_off_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SYNC
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(sync, sync_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SYSLOGD
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(syslogd, syslogd_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TAIL
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(tail, tail_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TAR
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(tar, tar_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TEE
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(tee, tee_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TELNET
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(telnet, telnet_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TEST
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(test, test_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-03-02 19:08:50 +00:00
|
|
|
#ifdef BB_TFTP
|
|
|
|
APPLET(tftp, tftp_main, _BB_DIR_USR_BIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_TOUCH
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(touch, touch_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TR
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(tr, tr_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-07-10 16:29:00 +00:00
|
|
|
#ifdef BB_TRACEROUTE
|
|
|
|
APPLET(traceroute, traceroute_main, _BB_DIR_USR_BIN)
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_TRUE_FALSE
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(true, true_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TTY
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(tty, tty_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UMOUNT
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(umount, umount_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UNAME
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(uname, uname_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UNIQ
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(uniq, uniq_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UNIX2DOS
|
2001-07-25 07:22:55 +00:00
|
|
|
APPLET(unix2dos, dos2unix_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UPDATE
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(update, update_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UPTIME
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(uptime, uptime_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_USLEEP
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(usleep, usleep_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UUDECODE
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(uudecode, uudecode_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UUENCODE
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2001-04-04 17:31:15 +00:00
|
|
|
#ifdef BB_VI
|
|
|
|
APPLET(vi, vi_main, _BB_DIR_BIN)
|
|
|
|
#endif
|
2001-01-25 23:40:32 +00:00
|
|
|
#ifdef BB_WATCHDOG
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(watchdog, watchdog_main, _BB_DIR_SBIN)
|
2001-01-25 23:40:32 +00:00
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_WC
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(wc, wc_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_WGET
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(wget, wget_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_WHICH
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(which, which_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_WHOAMI
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(whoami, whoami_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_XARGS
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(xargs, xargs_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_YES
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(yes, yes_main, _BB_DIR_USR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_GUNZIP
|
2001-02-14 21:23:06 +00:00
|
|
|
APPLET(zcat, gunzip_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2000-11-30 00:27:06 +00:00
|
|
|
|
2001-02-22 01:15:47 +00:00
|
|
|
#if !defined(PROTOTYPES) && !defined(MAKE_USAGE)
|
|
|
|
{ 0,NULL,0 }
|
2000-10-25 00:28:27 +00:00
|
|
|
};
|
|
|
|
|
2000-11-30 00:27:06 +00:00
|
|
|
#endif
|
2001-08-21 16:18:59 +00:00
|
|
|
|