X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fapplets.h;h=9508c3a4b328589cba7c6fb42acf6d46288e8f36;hb=924f93e848c507c92beb1b106c7c52e428d3c2c2;hp=3a8c731a554624bb2361d3836f222752b4c235c8;hpb=c9aca4561ddb1165890fae0c8b921a2504c6273f;p=oweals%2Fbusybox.git diff --git a/include/applets.h b/include/applets.h index 3a8c731a5..9508c3a4b 100644 --- a/include/applets.h +++ b/include/applets.h @@ -23,11 +23,11 @@ #elif defined(MAKE_USAGE) #ifdef CONFIG_FEATURE_VERBOSE_USAGE #define APPLET(a,b,c,d) a##_trivial_usage "\n\n" a##_full_usage "\0" - #define APPLET_NOUSAGE(a,b,c,d) "\0" + #define APPLET_NOUSAGE(a,b,c,d) "\b\0" #define APPLET_ODDNAME(a,b,c,d,e) e##_trivial_usage "\n\n" e##_full_usage "\0" #else #define APPLET(a,b,c,d) a##_trivial_usage "\0" - #define APPLET_NOUSAGE(a,b,c,d) "\0" + #define APPLET_NOUSAGE(a,b,c,d) "\b\0" #define APPLET_ODDNAME(a,b,c,d,e) e##_trivial_usage "\0" #endif #elif defined(MAKE_LINKS) @@ -61,6 +61,9 @@ #ifdef CONFIG_ASH APPLET_NOUSAGE("ash", ash_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_AWK + APPLET(awk, awk_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_BASENAME APPLET(basename, basename_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif @@ -218,6 +221,9 @@ #ifdef CONFIG_HUSH APPLET_NOUSAGE("hush", hush_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_HWCLOCK + APPLET(hwclock, hwclock_main, _BB_DIR_SBIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_ID APPLET(id, id_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif @@ -287,6 +293,9 @@ #ifdef CONFIG_MD5SUM APPLET(md5sum, md5sum_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_MESG + APPLET(mesg, mesg_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_MKDIR APPLET(mkdir, mkdir_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif @@ -335,12 +344,21 @@ #ifdef CONFIG_OD APPLET(od, od_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_OPENVT + APPLET(openvt, openvt_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) +#endif +#ifdef CONFIG_PASSWD + APPLET(passwd, passwd_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS) +#endif #ifdef CONFIG_PIDOF APPLET(pidof, pidof_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif #ifdef CONFIG_PING APPLET(ping, ping_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_PING6 + APPLET(ping6, ping6_main, _BB_DIR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_PIVOT_ROOT APPLET(pivot_root, pivot_root_main, _BB_DIR_SBIN, _BB_SUID_NEVER) #endif @@ -419,6 +437,9 @@ #ifdef CONFIG_SU APPLET(su, su_main, _BB_DIR_BIN, _BB_SUID_ALWAYS) #endif +#ifdef CONFIG_SULOGIN + APPLET(sulogin, sulogin_main, _BB_DIR_SBIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_SWAPONOFF APPLET(swapoff, swap_on_off_main, _BB_DIR_SBIN, _BB_SUID_NEVER) #endif @@ -452,6 +473,9 @@ #ifdef CONFIG_TIME APPLET(time, time_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_TOP + APPLET(top, top_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_TOUCH APPLET(touch, touch_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif @@ -467,6 +491,9 @@ #ifdef CONFIG_TTY APPLET(tty, tty_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_UDHCPC + APPLET(udhcpc, udhcpc_main, _BB_DIR_SBIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_UMOUNT APPLET(umount, umount_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif @@ -505,6 +532,12 @@ #ifdef CONFIG_VI APPLET(vi, vi_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_VLOCK + APPLET(vlock, vlock_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS) +#endif +#ifdef CONFIG_WATCH + APPLET(watch, watch_main, _BB_DIR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_WATCHDOG APPLET(watchdog, watchdog_main, _BB_DIR_SBIN, _BB_SUID_NEVER) #endif