2000-10-25 05:58:27 +05:30
|
|
|
/*
|
|
|
|
* 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-15 02:53:06 +05:30
|
|
|
#undef APPLET
|
|
|
|
#undef APPLET_ODDNAME
|
|
|
|
#undef APPLET_NOUSAGE
|
|
|
|
|
2000-12-02 06:14:48 +05:30
|
|
|
#if defined(PROTOTYPES)
|
2001-02-15 02:53:06 +05:30
|
|
|
#define APPLET(a,b,c) \
|
|
|
|
extern int b(int argc, char **argv);
|
|
|
|
#define APPLET_ODDNAME(a,b,c,d,e) APPLET(a,b,c)
|
2000-11-30 05:57:06 +05:30
|
|
|
#define APPLET_NOUSAGE(a,b,c) \
|
|
|
|
extern int b(int argc, char **argv);
|
2000-12-02 06:14:48 +05:30
|
|
|
#elif defined(MAKE_LINKS)
|
2001-02-15 02:53:06 +05:30
|
|
|
#define APPLET(a,b,c) LINK c #a
|
|
|
|
#define APPLET_ODDNAME(a,b,c,d,e) LINK c a
|
|
|
|
#define APPLET_NOUSAGE(a,b,c) LINK c #a
|
|
|
|
#elif defined(APPLET_ENUM)
|
|
|
|
#define APPLET(a,b,c) a##_applet_number,
|
|
|
|
#define APPLET_ODDNAME(a,b,c,d,e) e##_applet_number,
|
|
|
|
#define APPLET_NOUSAGE(a,b,c) a##applet_number,
|
2000-12-02 06:14:48 +05:30
|
|
|
#else
|
2001-02-15 02:53:06 +05:30
|
|
|
#define USAGE_ENUM
|
|
|
|
#include "usage.h"
|
2000-12-02 06:14:48 +05:30
|
|
|
const struct BB_applet applets[] = {
|
2001-02-15 02:53:06 +05:30
|
|
|
#define APPLET(a,b,c) {#a,b,c,a##_usage_index},
|
|
|
|
#define APPLET_ODDNAME(a,b,c,d,e) {a,b,c,d},
|
|
|
|
#define APPLET_NOUSAGE(a,b,c) {#a,b,c,-1},
|
|
|
|
#define zcat_usage_index gunzip_usage_index
|
|
|
|
#define sh_usage_index shell_usage_index
|
2000-11-30 05:57:06 +05:30
|
|
|
#endif
|
2000-10-25 05:58:27 +05:30
|
|
|
|
|
|
|
#ifdef BB_TEST
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET_ODDNAME("[", test_main, _BB_DIR_USR_BIN, test_usage_index, open_bracket)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_AR
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(ar, ar_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_BASENAME
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(basename, basename_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET_NOUSAGE(busybox, busybox_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#ifdef BB_CAT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(cat, cat_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_CHMOD_CHOWN_CHGRP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(chgrp, chmod_chown_chgrp_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_CHMOD_CHOWN_CHGRP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(chmod, chmod_chown_chgrp_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_CHMOD_CHOWN_CHGRP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(chown, chmod_chown_chgrp_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_CHROOT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(chroot, chroot_main, _BB_DIR_USR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_CHVT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(chvt, chvt_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_CLEAR
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(clear, clear_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_CMP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(cmp, cmp_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_CP_MV
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(cp, cp_mv_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_CUT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(cut, cut_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_DATE
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(date, date_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_DC
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(dc, dc_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_DD
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(dd, dd_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_DEALLOCVT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(deallocvt, deallocvt_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_DF
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(df, df_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_DIRNAME
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(dirname, dirname_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_DMESG
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(dmesg, dmesg_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_DOS2UNIX
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(dos2unix, dos2unix_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
2001-02-10 07:34:40 +05:30
|
|
|
#ifdef BB_DPKG
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(dpkg, dpkg_main, _BB_DIR_USR_BIN)
|
2001-02-10 07:34:40 +05:30
|
|
|
#endif
|
2001-01-03 05:11:50 +05:30
|
|
|
#ifdef BB_DPKG_DEB
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET_ODDNAME("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, dpkg_deb_usage_index, dpkg_deb)
|
2001-01-03 05:11:50 +05:30
|
|
|
#endif
|
2000-10-25 05:58:27 +05:30
|
|
|
#ifdef BB_DU
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(du, du_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_DUMPKMAP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(dumpkmap, dumpkmap_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_DUTMP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(dutmp, dutmp_main, _BB_DIR_USR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_ECHO
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(echo, echo_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_EXPR
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(expr, expr_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_TRUE_FALSE
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(false, false_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_FBSET
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET_NOUSAGE(fbset, fbset_main, _BB_DIR_USR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_FDFLUSH
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(fdflush, fdflush_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_FIND
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(find, find_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_FREE
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(free, free_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_FREERAMDISK
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(freeramdisk, freeramdisk_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_FSCK_MINIX
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET_ODDNAME("fsck.minix", fsck_minix_main, _BB_DIR_SBIN, fsck_minix_usage_index, fsck_minix)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_GETOPT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(getopt, getopt_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_GREP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(grep, grep_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_GUNZIP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(gunzip, gunzip_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_GZIP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(gzip, gzip_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_HALT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(halt, halt_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_HEAD
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(head, head_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_HOSTID
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(hostid, hostid_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_HOSTNAME
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(hostname, hostname_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_ID
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(id, id_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
2001-02-14 13:41:27 +05:30
|
|
|
#ifdef BB_IFCONFIG
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(ifconfig, ifconfig_main, _BB_DIR_SBIN)
|
2001-02-14 13:41:27 +05:30
|
|
|
#endif
|
2000-10-25 05:58:27 +05:30
|
|
|
#ifdef BB_INIT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(init, init_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_INSMOD
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(insmod, insmod_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_KILL
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(kill, kill_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_KILLALL
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(killall, kill_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_LENGTH
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(length, length_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_LINUXRC
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET_NOUSAGE(linuxrc, init_main, _BB_DIR_ROOT)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_LN
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(ln, ln_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_LOADACM
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(loadacm, loadacm_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_LOADFONT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(loadfont, loadfont_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_LOADKMAP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(loadkmap, loadkmap_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_LOGGER
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(logger, logger_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_LOGNAME
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(logname, logname_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_LS
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(ls, ls_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_LSMOD
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(lsmod, lsmod_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_MAKEDEVS
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(makedevs, makedevs_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_MD5SUM
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(md5sum, md5sum_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_MKDIR
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(mkdir, mkdir_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_MKFIFO
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(mkfifo, mkfifo_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_MKFS_MINIX
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET_ODDNAME("mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN, mkfs_minix_usage_index, mkfs_minix)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_MKNOD
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(mknod, mknod_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_MKSWAP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(mkswap, mkswap_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_MKTEMP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(mktemp, mktemp_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_MORE
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(more, more_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_MOUNT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(mount, mount_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_MT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(mt, mt_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_CP_MV
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(mv, cp_mv_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_NC
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(nc, nc_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_NSLOOKUP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_PING
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(ping, ping_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
2001-02-14 01:34:30 +05:30
|
|
|
#ifdef BB_PIVOT_ROOT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(pivot_root, pivot_root_main, _BB_DIR_SBIN)
|
2001-02-14 01:34:30 +05:30
|
|
|
#endif
|
2000-10-25 05:58:27 +05:30
|
|
|
#ifdef BB_POWEROFF
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(poweroff, poweroff_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_PRINTF
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(printf, printf_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_PS
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(ps, ps_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_PWD
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(pwd, pwd_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_RDATE
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(rdate, rdate_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_READLINK
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(readlink, readlink_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_REBOOT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(reboot, reboot_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_RENICE
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(renice, renice_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_RESET
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(reset, reset_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_RM
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(rm, rm_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_RMDIR
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(rmdir, rmdir_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_RMMOD
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(rmmod, rmmod_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
2001-02-14 13:41:27 +05:30
|
|
|
#ifdef BB_ROUTE
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(route, route_main, _BB_DIR_USR_BIN)
|
2001-02-14 13:41:27 +05:30
|
|
|
#endif
|
2000-11-30 03:08:11 +05:30
|
|
|
#ifdef BB_RPMUNPACK
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(rpmunpack, rpmunpack_main, _BB_DIR_USR_BIN)
|
2000-11-30 03:08:11 +05:30
|
|
|
#endif
|
2000-10-25 05:58:27 +05:30
|
|
|
#ifdef BB_SED
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(sed, sed_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_SETKEYCODES
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_SH
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(sh, shell_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_SLEEP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(sleep, sleep_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_SORT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(sort, sort_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
2001-02-15 00:17:33 +05:30
|
|
|
#ifdef BB_STTY
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(stty, stty_main, _BB_DIR_BIN)
|
2001-02-15 00:17:33 +05:30
|
|
|
#endif
|
2000-10-25 05:58:27 +05:30
|
|
|
#ifdef BB_SWAPONOFF
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(swapoff, swap_on_off_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_SWAPONOFF
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(swapon, swap_on_off_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_SYNC
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(sync, sync_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_SYSLOGD
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(syslogd, syslogd_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_TAIL
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(tail, tail_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_TAR
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(tar, tar_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_TEE
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(tee, tee_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_TELNET
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(telnet, telnet_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_TEST
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(test, test_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_TOUCH
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(touch, touch_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_TR
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(tr, tr_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_TRUE_FALSE
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(true, true_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_TTY
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(tty, tty_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_UMOUNT
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(umount, umount_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_UNAME
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(uname, uname_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_UNIQ
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(uniq, uniq_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_UNIX2DOS
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(unix2dos, unix2dos_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_UPDATE
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(update, update_main, _BB_DIR_SBIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_UPTIME
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(uptime, uptime_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_USLEEP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(usleep, usleep_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_UUDECODE
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(uudecode, uudecode_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_UUENCODE
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
2001-01-26 05:10:32 +05:30
|
|
|
#ifdef BB_WATCHDOG
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(watchdog, watchdog_main, _BB_DIR_SBIN)
|
2001-01-26 05:10:32 +05:30
|
|
|
#endif
|
2000-10-25 05:58:27 +05:30
|
|
|
#ifdef BB_WC
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(wc, wc_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_WGET
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(wget, wget_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_WHICH
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(which, which_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_WHOAMI
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(whoami, whoami_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_XARGS
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(xargs, xargs_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_YES
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(yes, yes_main, _BB_DIR_USR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
|
|
|
#ifdef BB_GUNZIP
|
2001-02-15 02:53:06 +05:30
|
|
|
APPLET(zcat, gunzip_main, _BB_DIR_BIN)
|
2000-10-25 05:58:27 +05:30
|
|
|
#endif
|
2000-11-30 05:57:06 +05:30
|
|
|
|
2001-02-15 02:53:06 +05:30
|
|
|
#if !defined(PROTOTYPES) && !defined(MAKE_LINKS) && !defined(APPLET_ENUM)
|
|
|
|
{ 0,NULL,0,-1}
|
2000-10-25 05:58:27 +05:30
|
|
|
};
|
|
|
|
|
2001-02-15 02:53:06 +05:30
|
|
|
/* The -1 arises because of the {0,NULL,0,-1} entry above. */
|
2000-11-18 00:21:45 +05:30
|
|
|
size_t NUM_APPLETS = (sizeof (applets) / sizeof (struct BB_applet) - 1);
|
2000-10-25 05:58:27 +05:30
|
|
|
|
2000-11-30 05:57:06 +05:30
|
|
|
#endif
|