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.
|
|
|
|
*/
|
|
|
|
|
2000-11-30 00:27:06 +00:00
|
|
|
#ifndef PROTOTYPES
|
2000-10-25 00:28:27 +00:00
|
|
|
const struct BB_applet applets[] = {
|
2000-11-30 00:27:06 +00:00
|
|
|
#define APPLET(a,b,c,d) {a,b,c,d},
|
|
|
|
#define APPLET_NOUSAGE(a,b,c) {a,b,c,NULL},
|
|
|
|
#else
|
|
|
|
#define APPLET(a,b,c,d) \
|
|
|
|
extern int b(int argc, char **argv); \
|
|
|
|
extern const char d[];
|
|
|
|
#define APPLET_NOUSAGE(a,b,c) \
|
|
|
|
extern int b(int argc, char **argv);
|
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
|
|
|
|
#ifdef BB_TEST
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("[", test_main, _BB_DIR_USR_BIN, test_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_AR
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("ar", ar_main, _BB_DIR_USR_BIN, ar_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_BASENAME
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("basename", basename_main, _BB_DIR_USR_BIN, basename_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET_NOUSAGE("busybox", busybox_main, _BB_DIR_BIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_CAT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("cat", cat_main, _BB_DIR_BIN, cat_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CHMOD_CHOWN_CHGRP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("chgrp", chmod_chown_chgrp_main, _BB_DIR_BIN, chgrp_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CHMOD_CHOWN_CHGRP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("chmod", chmod_chown_chgrp_main, _BB_DIR_BIN, chmod_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CHMOD_CHOWN_CHGRP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("chown", chmod_chown_chgrp_main, _BB_DIR_BIN, chown_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CHROOT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("chroot", chroot_main, _BB_DIR_USR_SBIN, chroot_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CHVT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("chvt", chvt_main, _BB_DIR_USR_BIN, chvt_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CLEAR
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("clear", clear_main, _BB_DIR_USR_BIN, clear_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CMP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("cmp", cmp_main, _BB_DIR_USR_BIN, cmp_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CP_MV
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("cp", cp_mv_main, _BB_DIR_BIN, cp_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CUT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("cut", cut_main, _BB_DIR_USR_BIN, cut_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DATE
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("date", date_main, _BB_DIR_BIN, date_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DC
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("dc", dc_main, _BB_DIR_USR_BIN, dc_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DD
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("dd", dd_main, _BB_DIR_BIN, dd_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DEALLOCVT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("deallocvt", deallocvt_main, _BB_DIR_USR_BIN, deallocvt_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DF
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("df", df_main, _BB_DIR_BIN, df_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DIRNAME
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("dirname", dirname_main, _BB_DIR_USR_BIN, dirname_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DMESG
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("dmesg", dmesg_main, _BB_DIR_BIN, dmesg_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DOS2UNIX
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("dos2unix", dos2unix_main, _BB_DIR_USR_BIN, dos2unix_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DU
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("du", du_main, _BB_DIR_USR_BIN, du_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DUMPKMAP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("dumpkmap", dumpkmap_main, _BB_DIR_BIN, dumpkmap_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_DUTMP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("dutmp", dutmp_main, _BB_DIR_USR_SBIN, dutmp_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_ECHO
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("echo", echo_main, _BB_DIR_BIN, echo_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_EXPR
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("expr", expr_main, _BB_DIR_USR_BIN, expr_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TRUE_FALSE
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("false", false_main, _BB_DIR_BIN, false_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_FBSET
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET_NOUSAGE("fbset", fbset_main, _BB_DIR_USR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_FDFLUSH
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("fdflush", fdflush_main, _BB_DIR_BIN, fdflush_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_FIND
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("find", find_main, _BB_DIR_USR_BIN, find_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_FREE
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("free", free_main, _BB_DIR_USR_BIN, free_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_FREERAMDISK
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("freeramdisk", freeramdisk_main, _BB_DIR_SBIN, freeramdisk_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_FSCK_MINIX
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("fsck.minix", fsck_minix_main, _BB_DIR_SBIN, fsck_minix_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_GETOPT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("getopt", getopt_main, _BB_DIR_BIN, getopt_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_GREP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("grep", grep_main, _BB_DIR_BIN, grep_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_GUNZIP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("gunzip", gunzip_main, _BB_DIR_BIN, gunzip_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_GZIP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("gzip", gzip_main, _BB_DIR_BIN, gzip_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_HALT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("halt", halt_main, _BB_DIR_SBIN, halt_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_HEAD
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("head", head_main, _BB_DIR_USR_BIN, head_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_HOSTID
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("hostid", hostid_main, _BB_DIR_USR_BIN, hostid_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_HOSTNAME
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("hostname", hostname_main, _BB_DIR_BIN, hostname_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_ID
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("id", id_main, _BB_DIR_USR_BIN, id_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_INIT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET_NOUSAGE("init", init_main, _BB_DIR_SBIN)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_INSMOD
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("insmod", insmod_main, _BB_DIR_SBIN, insmod_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_KILL
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("kill", kill_main, _BB_DIR_BIN, kill_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_KILLALL
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("killall", kill_main, _BB_DIR_USR_BIN, killall_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LENGTH
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("length", length_main, _BB_DIR_USR_BIN, length_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LINUXRC
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LN
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("ln", ln_main, _BB_DIR_BIN, ln_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LOADACM
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("loadacm", loadacm_main, _BB_DIR_USR_BIN, loadacm_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LOADFONT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("loadfont", loadfont_main, _BB_DIR_USR_BIN, loadfont_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LOADKMAP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("loadkmap", loadkmap_main, _BB_DIR_SBIN, loadkmap_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LOGGER
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("logger", logger_main, _BB_DIR_USR_BIN, logger_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LOGNAME
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("logname", logname_main, _BB_DIR_USR_BIN, logname_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LS
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("ls", ls_main, _BB_DIR_BIN, ls_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_LSMOD
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("lsmod", lsmod_main, _BB_DIR_SBIN, lsmod_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MAKEDEVS
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("makedevs", makedevs_main, _BB_DIR_SBIN, makedevs_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MD5SUM
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("md5sum", md5sum_main, _BB_DIR_USR_BIN, md5sum_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MKDIR
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("mkdir", mkdir_main, _BB_DIR_BIN, mkdir_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MKFIFO
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("mkfifo", mkfifo_main, _BB_DIR_USR_BIN, mkfifo_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MKFS_MINIX
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN, mkfs_minix_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MKNOD
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("mknod", mknod_main, _BB_DIR_BIN, mknod_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MKSWAP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("mkswap", mkswap_main, _BB_DIR_SBIN, mkswap_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MKTEMP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("mktemp", mktemp_main, _BB_DIR_BIN, mktemp_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MORE
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("more", more_main, _BB_DIR_BIN, more_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MOUNT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("mount", mount_main, _BB_DIR_BIN, mount_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_MT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("mt", mt_main, _BB_DIR_BIN, mt_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_CP_MV
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("mv", cp_mv_main, _BB_DIR_BIN, mv_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_NC
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("nc", nc_main, _BB_DIR_USR_BIN, nc_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_NSLOOKUP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("nslookup", nslookup_main, _BB_DIR_USR_BIN, nslookup_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_PING
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("ping", ping_main, _BB_DIR_BIN, ping_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_POWEROFF
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("poweroff", poweroff_main, _BB_DIR_SBIN, poweroff_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_PRINTF
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("printf", printf_main, _BB_DIR_USR_BIN, printf_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_PS
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("ps", ps_main, _BB_DIR_BIN, ps_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_PWD
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("pwd", pwd_main, _BB_DIR_BIN, pwd_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_RDATE
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("rdate", rdate_main, _BB_DIR_USR_BIN, rdate_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_READLINK
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("readlink", readlink_main, _BB_DIR_USR_BIN, readlink_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_REBOOT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("reboot", reboot_main, _BB_DIR_SBIN, reboot_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_RENICE
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("renice", renice_main, _BB_DIR_USR_BIN, renice_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_RESET
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("reset", reset_main, _BB_DIR_USR_BIN, reset_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_RM
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("rm", rm_main, _BB_DIR_BIN, rm_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_RMDIR
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("rmdir", rmdir_main, _BB_DIR_BIN, rmdir_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_RMMOD
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("rmmod", rmmod_main, _BB_DIR_SBIN, rmmod_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2000-11-29 21:38:11 +00:00
|
|
|
#ifdef BB_RPMUNPACK
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("rpmunpack", rpmunpack_main, _BB_DIR_USR_BIN, rpmunpack_usage)
|
2000-11-29 21:38:11 +00:00
|
|
|
#endif
|
2000-10-25 00:28:27 +00:00
|
|
|
#ifdef BB_SED
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("sed", sed_main, _BB_DIR_BIN, sed_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SETKEYCODES
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("setkeycodes", setkeycodes_main, _BB_DIR_USR_BIN, setkeycodes_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SH
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("sh", shell_main, _BB_DIR_BIN, shell_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SLEEP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("sleep", sleep_main, _BB_DIR_BIN, sleep_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SORT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("sort", sort_main, _BB_DIR_USR_BIN, sort_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SWAPONOFF
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("swapoff", swap_on_off_main, _BB_DIR_SBIN, swapoff_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SWAPONOFF
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("swapon", swap_on_off_main, _BB_DIR_SBIN, swapon_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SYNC
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("sync", sync_main, _BB_DIR_BIN, sync_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_SYSLOGD
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("syslogd", syslogd_main, _BB_DIR_SBIN, syslogd_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TAIL
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("tail", tail_main, _BB_DIR_USR_BIN, tail_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TAR
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("tar", tar_main, _BB_DIR_BIN, tar_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TEE
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("tee", tee_main, _BB_DIR_USR_BIN, tee_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TELNET
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("telnet", telnet_main, _BB_DIR_USR_BIN, telnet_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TEST
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("test", test_main, _BB_DIR_USR_BIN, test_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TOUCH
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("touch", touch_main, _BB_DIR_BIN, touch_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TR
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("tr", tr_main, _BB_DIR_USR_BIN, tr_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TRUE_FALSE
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("true", true_main, _BB_DIR_BIN, true_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_TTY
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("tty", tty_main, _BB_DIR_USR_BIN, tty_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UMOUNT
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("umount", umount_main, _BB_DIR_BIN, umount_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UNAME
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("uname", uname_main, _BB_DIR_BIN, uname_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UNIQ
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("uniq", uniq_main, _BB_DIR_USR_BIN, uniq_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UNIX2DOS
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("unix2dos", unix2dos_main, _BB_DIR_USR_BIN, unix2dos_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UPDATE
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("update", update_main, _BB_DIR_SBIN, update_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UPTIME
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("uptime", uptime_main, _BB_DIR_USR_BIN, uptime_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_USLEEP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("usleep", usleep_main, _BB_DIR_BIN, usleep_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UUDECODE
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("uudecode", uudecode_main, _BB_DIR_USR_BIN, uudecode_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_UUENCODE
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("uuencode", uuencode_main, _BB_DIR_USR_BIN, uuencode_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_WC
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("wc", wc_main, _BB_DIR_USR_BIN, wc_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_WGET
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("wget", wget_main, _BB_DIR_USR_BIN, wget_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_WHICH
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("which", which_main, _BB_DIR_USR_BIN, which_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_WHOAMI
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("whoami", whoami_main, _BB_DIR_USR_BIN, whoami_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_XARGS
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("xargs", xargs_main, _BB_DIR_USR_BIN, xargs_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_YES
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("yes", yes_main, _BB_DIR_USR_BIN, yes_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
|
|
|
#ifdef BB_GUNZIP
|
2000-11-30 00:27:06 +00:00
|
|
|
APPLET("zcat", gunzip_main, _BB_DIR_BIN, gunzip_usage)
|
2000-10-25 00:28:27 +00:00
|
|
|
#endif
|
2000-11-30 00:27:06 +00:00
|
|
|
|
|
|
|
#ifndef PROTOTYPES
|
|
|
|
{ 0,NULL,0,NULL}
|
2000-10-25 00:28:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* The -1 arises because of the {0,NULL,0,NULL} entry above. */
|
2000-11-17 18:51:45 +00:00
|
|
|
size_t NUM_APPLETS = (sizeof (applets) / sizeof (struct BB_applet) - 1);
|
2000-10-25 00:28:27 +00:00
|
|
|
|
2000-11-30 00:27:06 +00:00
|
|
|
#endif
|