Update docs for start_stop_daemon to match reality. Update
[oweals/busybox.git] / include / applets.h
1 /*
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
13 #undef APPLET
14 #undef APPLET_ODDNAME
15 #undef APPLET_NOUSAGE
16
17
18 #if defined(PROTOTYPES)
19   #define APPLET(a,b,c,d) extern int b(int argc, char **argv);
20   #define APPLET_NOUSAGE(a,b,c,d) extern int b(int argc, char **argv);
21   #define APPLET_ODDNAME(a,b,c,d,e) extern int b(int argc, char **argv);
22   extern const char usage_messages[];
23 #elif defined(MAKE_USAGE)
24   #ifdef CONFIG_FEATURE_VERBOSE_USAGE
25     #define APPLET(a,b,c,d) a##_trivial_usage "\n\n" a##_full_usage "\0"
26     #define APPLET_NOUSAGE(a,b,c,d) "\b\0"
27     #define APPLET_ODDNAME(a,b,c,d,e) e##_trivial_usage "\n\n" e##_full_usage "\0"
28   #else
29     #define APPLET(a,b,c,d) a##_trivial_usage "\0"
30     #define APPLET_NOUSAGE(a,b,c,d) "\b\0"
31     #define APPLET_ODDNAME(a,b,c,d,e) e##_trivial_usage "\0"
32   #endif
33 #elif defined(MAKE_LINKS)
34 #  define APPLET(a,b,c,d) LINK c a
35 #  define APPLET_NOUSAGE(a,b,c,d) LINK c a
36 #  define APPLET_ODDNAME(a,b,c,d,e) LINK c a
37 #else
38   const struct BB_applet applets[] = {
39   #define APPLET(a,b,c,d) {#a,b,c,d},
40   #define APPLET_NOUSAGE(a,b,c,d) {a,b,c,d},
41   #define APPLET_ODDNAME(a,b,c,d,e) {a,b,c,d},
42 #endif
43
44 #ifdef CONFIG_INSTALL_NO_USR
45 #define _BB_DIR_USR_BIN _BB_DIR_BIN
46 #define _BB_DIR_USR_SBIN _BB_DIR_SBIN
47 #endif
48
49
50
51 #ifdef CONFIG_TEST
52         APPLET_NOUSAGE("[", test_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
53 #endif
54 #ifdef CONFIG_ADDGROUP
55         APPLET(addgroup, addgroup_main, _BB_DIR_BIN, _BB_SUID_NEVER)
56 #endif
57 #ifdef CONFIG_ADDUSER
58         APPLET(adduser, adduser_main, _BB_DIR_BIN, _BB_SUID_NEVER)
59 #endif
60 #ifdef CONFIG_ADJTIMEX
61         APPLET(adjtimex, adjtimex_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
62 #endif
63 #ifdef CONFIG_AR
64         APPLET(ar, ar_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
65 #endif
66 #ifdef CONFIG_ARPING
67         APPLET(arping, arping_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
68 #endif
69 #ifdef CONFIG_ASH
70         APPLET_NOUSAGE("ash", ash_main, _BB_DIR_BIN, _BB_SUID_NEVER)
71 #endif
72 #ifdef CONFIG_AWK
73         APPLET(awk, awk_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
74 #endif
75 #ifdef CONFIG_BASENAME
76         APPLET(basename, basename_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
77 #endif
78 #ifdef CONFIG_BUNZIP2
79         APPLET(bunzip2, bunzip2_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
80 #endif
81         APPLET_NOUSAGE("busybox", busybox_main, _BB_DIR_BIN, _BB_SUID_MAYBE)
82 #ifdef CONFIG_BUNZIP2
83         APPLET(bzcat, bunzip2_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
84 #endif
85 #ifdef CONFIG_CAL
86         APPLET(cal, cal_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
87 #endif
88 #ifdef CONFIG_CAT
89         APPLET(cat, cat_main, _BB_DIR_BIN, _BB_SUID_NEVER)
90 #endif
91 #ifdef CONFIG_CHGRP
92         APPLET(chgrp, chgrp_main, _BB_DIR_BIN, _BB_SUID_NEVER)
93 #endif
94 #ifdef CONFIG_CHMOD
95         APPLET(chmod, chmod_main, _BB_DIR_BIN, _BB_SUID_NEVER)
96 #endif
97 #ifdef CONFIG_CHOWN
98         APPLET(chown, chown_main, _BB_DIR_BIN, _BB_SUID_NEVER)
99 #endif
100 #ifdef CONFIG_CHROOT
101         APPLET(chroot, chroot_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
102 #endif
103 #ifdef CONFIG_CHVT
104         APPLET(chvt, chvt_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
105 #endif
106 #ifdef CONFIG_CLEAR
107         APPLET(clear, clear_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
108 #endif
109 #ifdef CONFIG_CMP
110         APPLET(cmp, cmp_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
111 #endif
112 #ifdef CONFIG_CP
113         APPLET(cp, cp_main, _BB_DIR_BIN, _BB_SUID_NEVER)
114 #endif
115 #ifdef CONFIG_CPIO
116         APPLET(cpio, cpio_main, _BB_DIR_BIN, _BB_SUID_NEVER)
117 #endif
118 #ifdef CONFIG_CROND
119         APPLET(crond, crond_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
120 #endif
121 #ifdef CONFIG_CRONTAB
122         APPLET(crontab, crontab_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS)
123 #endif
124 #ifdef CONFIG_CUT
125         APPLET(cut, cut_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
126 #endif
127 #ifdef CONFIG_DATE
128         APPLET(date, date_main, _BB_DIR_BIN, _BB_SUID_NEVER)
129 #endif
130 #ifdef CONFIG_DC
131         APPLET(dc, dc_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
132 #endif
133 #ifdef CONFIG_DD
134         APPLET(dd, dd_main, _BB_DIR_BIN, _BB_SUID_NEVER)
135 #endif
136 #ifdef CONFIG_DEALLOCVT
137         APPLET(deallocvt, deallocvt_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
138 #endif
139 #ifdef CONFIG_DELGROUP
140         APPLET(delgroup, delgroup_main, _BB_DIR_BIN, _BB_SUID_NEVER)
141 #endif
142 #ifdef CONFIG_DELUSER
143         APPLET(deluser, deluser_main, _BB_DIR_BIN, _BB_SUID_NEVER)
144 #endif
145 #ifdef CONFIG_DEVFSD
146         APPLET(devfsd, devfsd_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
147 #endif
148 #ifdef CONFIG_DF
149         APPLET(df, df_main, _BB_DIR_BIN, _BB_SUID_NEVER)
150 #endif
151 #ifdef CONFIG_DIRNAME
152         APPLET(dirname, dirname_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
153 #endif
154 #ifdef CONFIG_DMESG
155         APPLET(dmesg, dmesg_main, _BB_DIR_BIN, _BB_SUID_NEVER)
156 #endif
157 #ifdef CONFIG_DOS2UNIX
158         APPLET(dos2unix, dos2unix_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
159 #endif
160 #ifdef CONFIG_DPKG
161         APPLET(dpkg, dpkg_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
162 #endif
163 #ifdef CONFIG_DPKG_DEB
164         APPLET_ODDNAME("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER, dpkg_deb)
165 #endif
166 #ifdef CONFIG_DU
167         APPLET(du, du_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
168 #endif
169 #ifdef CONFIG_DUMPKMAP
170         APPLET(dumpkmap, dumpkmap_main, _BB_DIR_BIN, _BB_SUID_NEVER)
171 #endif
172 #ifdef CONFIG_DUMPLEASES
173         APPLET(dumpleases, dumpleases_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
174 #endif
175 #ifdef CONFIG_ECHO
176         APPLET(echo, echo_main, _BB_DIR_BIN, _BB_SUID_NEVER)
177 #endif
178 #if defined(CONFIG_FEATURE_GREP_EGREP_ALIAS)
179         APPLET_NOUSAGE("egrep", grep_main, _BB_DIR_BIN, _BB_SUID_NEVER)
180 #endif
181 #ifdef CONFIG_ENV
182         APPLET(env, env_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
183 #endif
184 #ifdef CONFIG_EXPR
185         APPLET(expr, expr_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
186 #endif
187 #ifdef CONFIG_FALSE
188         APPLET(false, false_main, _BB_DIR_BIN, _BB_SUID_NEVER)
189 #endif
190 #ifdef CONFIG_FBSET
191         APPLET(fbset, fbset_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
192 #endif
193 #ifdef CONFIG_FDFLUSH
194         APPLET(fdflush, fdflush_main, _BB_DIR_BIN, _BB_SUID_NEVER)
195 #endif
196 #ifdef CONFIG_FDFORMAT
197         APPLET(fdformat, fdformat_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
198 #endif
199 #ifdef CONFIG_FDISK
200         APPLET(fdisk, fdisk_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
201 #endif
202 #if defined(CONFIG_FEATURE_GREP_FGREP_ALIAS)
203         APPLET_NOUSAGE("fgrep", grep_main, _BB_DIR_BIN, _BB_SUID_NEVER)
204 #endif
205 #ifdef CONFIG_FIND
206         APPLET(find, find_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
207 #endif
208 #ifdef CONFIG_FOLD
209         APPLET(fold, fold_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
210 #endif
211 #ifdef CONFIG_FREE
212         APPLET(free, free_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
213 #endif
214 #ifdef CONFIG_FREERAMDISK
215         APPLET(freeramdisk, freeramdisk_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
216 #endif
217 #ifdef CONFIG_FSCK_MINIX
218         APPLET_ODDNAME("fsck.minix", fsck_minix_main, _BB_DIR_SBIN, _BB_SUID_NEVER, fsck_minix)
219 #endif
220 #ifdef CONFIG_FTPGET
221         APPLET(ftpget, ftpgetput_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
222 #endif
223 #ifdef CONFIG_FTPPUT
224         APPLET(ftpput, ftpgetput_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
225 #endif
226 #ifdef CONFIG_GETOPT
227         APPLET(getopt, getopt_main, _BB_DIR_BIN, _BB_SUID_NEVER)
228 #endif
229 #ifdef CONFIG_GETTY
230         APPLET(getty, getty_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
231 #endif
232 #ifdef CONFIG_GREP
233         APPLET(grep, grep_main, _BB_DIR_BIN, _BB_SUID_NEVER)
234 #endif
235 #ifdef CONFIG_GUNZIP
236         APPLET(gunzip, gunzip_main, _BB_DIR_BIN, _BB_SUID_NEVER)
237 #endif
238 #ifdef CONFIG_GZIP
239         APPLET(gzip, gzip_main, _BB_DIR_BIN, _BB_SUID_NEVER)
240 #endif
241 #ifdef CONFIG_HALT
242         APPLET(halt, halt_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
243 #endif
244 #ifdef CONFIG_HDPARM
245         APPLET(hdparm, hdparm_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
246 #endif
247 #ifdef CONFIG_HEAD
248         APPLET(head, head_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
249 #endif
250 #ifdef CONFIG_HEXDUMP
251         APPLET(hexdump, hexdump_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
252 #endif
253 #ifdef CONFIG_HOSTID
254         APPLET(hostid, hostid_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
255 #endif
256 #ifdef CONFIG_HOSTNAME
257         APPLET(hostname, hostname_main, _BB_DIR_BIN, _BB_SUID_NEVER)
258 #endif
259 #ifdef CONFIG_HTTPD
260         APPLET(httpd, httpd_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
261 #endif
262 #ifdef CONFIG_HUSH
263         APPLET_NOUSAGE("hush", hush_main, _BB_DIR_BIN, _BB_SUID_NEVER)
264 #endif
265 #ifdef CONFIG_HWCLOCK
266         APPLET(hwclock, hwclock_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
267 #endif
268 #ifdef CONFIG_ID
269         APPLET(id, id_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
270 #endif
271 #ifdef CONFIG_IFCONFIG
272         APPLET(ifconfig, ifconfig_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
273 #endif
274 #ifdef CONFIG_IFUPDOWN
275         APPLET(ifdown, ifupdown_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
276 #endif
277 #ifdef CONFIG_IFUPDOWN
278         APPLET(ifup, ifupdown_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
279 #endif
280 #ifdef CONFIG_INETD
281         APPLET(inetd, inetd_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
282 #endif
283 #ifdef CONFIG_INIT
284         APPLET(init, init_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
285 #endif
286 #ifdef CONFIG_INSMOD
287         APPLET(insmod, insmod_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
288 #endif
289 #ifdef CONFIG_INSTALL
290         APPLET(install, install_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
291 #endif
292 #ifdef CONFIG_IP
293         APPLET(ip, ip_main, _BB_DIR_BIN, _BB_SUID_NEVER)
294 #endif
295 #ifdef CONFIG_IPADDRESS
296         APPLET(ipaddr, ipaddr_main, _BB_DIR_BIN, _BB_SUID_NEVER)
297 #endif
298 #ifdef CONFIG_IPCALC
299         APPLET(ipcalc, ipcalc_main, _BB_DIR_BIN, _BB_SUID_NEVER)
300 #endif
301 #ifdef CONFIG_IPLINK
302         APPLET(iplink, iplink_main, _BB_DIR_BIN, _BB_SUID_NEVER)
303 #endif
304 #ifdef CONFIG_IPROUTE
305         APPLET(iproute, iproute_main, _BB_DIR_BIN, _BB_SUID_NEVER)
306 #endif
307 #ifdef CONFIG_IPTUNNEL
308         APPLET(iptunnel, iptunnel_main, _BB_DIR_BIN, _BB_SUID_NEVER)
309 #endif
310 #ifdef CONFIG_KILL
311         APPLET(kill, kill_main, _BB_DIR_BIN, _BB_SUID_NEVER)
312 #endif
313 #ifdef CONFIG_KILLALL
314         APPLET(killall, kill_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
315 #endif
316 #ifdef CONFIG_KLOGD
317         APPLET(klogd, klogd_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
318 #endif
319 #ifdef CONFIG_LASH
320         APPLET(lash, lash_main, _BB_DIR_BIN, _BB_SUID_NEVER)
321 #endif
322 #ifdef CONFIG_LAST
323         APPLET(last, last_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
324 #endif
325 #ifdef CONFIG_LENGTH
326         APPLET(length, length_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
327 #endif
328 #ifdef CONFIG_FEATURE_INITRD
329         APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT, _BB_SUID_NEVER)
330 #endif
331 #ifdef CONFIG_LN
332         APPLET(ln, ln_main, _BB_DIR_BIN, _BB_SUID_NEVER)
333 #endif
334 #ifdef CONFIG_LOADFONT
335         APPLET(loadfont, loadfont_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
336 #endif
337 #ifdef CONFIG_LOADKMAP
338         APPLET(loadkmap, loadkmap_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
339 #endif
340 #ifdef CONFIG_LOGGER
341         APPLET(logger, logger_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
342 #endif
343 #ifdef CONFIG_LOGIN
344         APPLET(login, login_main, _BB_DIR_BIN, _BB_SUID_NEVER)
345 #endif
346 #ifdef CONFIG_LOGNAME
347         APPLET(logname, logname_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
348 #endif
349 #ifdef CONFIG_LOGREAD
350         APPLET(logread, logread_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
351 #endif
352 #ifdef CONFIG_LOSETUP
353         APPLET(losetup, losetup_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
354 #endif
355 #ifdef CONFIG_LS
356         APPLET(ls, ls_main, _BB_DIR_BIN, _BB_SUID_NEVER)
357 #endif
358 #ifdef CONFIG_LSMOD
359         APPLET(lsmod, lsmod_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
360 #endif
361 #ifdef CONFIG_MAKEDEVS
362         APPLET(makedevs, makedevs_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
363 #endif
364 #ifdef CONFIG_MD5SUM
365         APPLET(md5sum, md5sum_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
366 #endif
367 #ifdef CONFIG_MESG
368         APPLET(mesg, mesg_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
369 #endif
370 #ifdef CONFIG_MINIT
371         APPLET(minit, minit_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
372 #endif
373 #ifdef CONFIG_MKDIR
374         APPLET(mkdir, mkdir_main, _BB_DIR_BIN, _BB_SUID_NEVER)
375 #endif
376 #ifdef CONFIG_MKFIFO
377         APPLET(mkfifo, mkfifo_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
378 #endif
379 #ifdef CONFIG_MKFS_MINIX
380         APPLET_ODDNAME("mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN, _BB_SUID_NEVER, mkfs_minix)
381 #endif
382 #ifdef CONFIG_MKNOD
383         APPLET(mknod, mknod_main, _BB_DIR_BIN, _BB_SUID_NEVER)
384 #endif
385 #ifdef CONFIG_MKSWAP
386         APPLET(mkswap, mkswap_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
387 #endif
388 #ifdef CONFIG_MKTEMP
389         APPLET(mktemp, mktemp_main, _BB_DIR_BIN, _BB_SUID_NEVER)
390 #endif
391 #ifdef CONFIG_MODPROBE
392         APPLET(modprobe, modprobe_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
393 #endif
394 #ifdef CONFIG_MORE
395         APPLET(more, more_main, _BB_DIR_BIN, _BB_SUID_NEVER)
396 #endif
397 #ifdef CONFIG_MOUNT
398         APPLET(mount, mount_main, _BB_DIR_BIN, _BB_SUID_NEVER)
399 #endif
400 #ifdef CONFIG_MSH
401         APPLET_NOUSAGE("msh", msh_main, _BB_DIR_BIN, _BB_SUID_NEVER)
402 #endif
403 #ifdef CONFIG_MSVC
404         APPLET(msvc, msvc_main, _BB_DIR_BIN, _BB_SUID_NEVER)
405 #endif
406 #ifdef CONFIG_MT
407         APPLET(mt, mt_main, _BB_DIR_BIN, _BB_SUID_NEVER)
408 #endif
409 #ifdef CONFIG_MV
410         APPLET(mv, mv_main, _BB_DIR_BIN, _BB_SUID_NEVER)
411 #endif
412 #ifdef CONFIG_NAMEIF
413         APPLET(nameif, nameif_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
414 #endif
415 #ifdef CONFIG_NC
416         APPLET(nc, nc_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
417 #endif
418 #ifdef CONFIG_NETSTAT
419         APPLET(netstat, netstat_main, _BB_DIR_BIN, _BB_SUID_NEVER)
420 #endif
421 #ifdef CONFIG_NSLOOKUP
422         APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
423 #endif
424 #ifdef CONFIG_OD
425         APPLET(od, od_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
426 #endif
427 #ifdef CONFIG_OPENVT
428         APPLET(openvt, openvt_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
429 #endif
430 #ifdef CONFIG_PASSWD
431         APPLET(passwd, passwd_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS)
432 #endif
433 #ifdef CONFIG_PATCH
434         APPLET(patch, patch_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
435 #endif
436 #ifdef CONFIG_PIDFILEHACK
437         APPLET(pidfilehack, pidfilehack_main, _BB_DIR_BIN, _BB_SUID_NEVER)
438 #endif
439 #ifdef CONFIG_PIDOF
440         APPLET(pidof, pidof_main, _BB_DIR_BIN, _BB_SUID_NEVER)
441 #endif
442 #ifdef CONFIG_PING
443         APPLET(ping, ping_main, _BB_DIR_BIN, _BB_SUID_MAYBE)
444 #endif
445 #ifdef CONFIG_PING6
446         APPLET(ping6, ping6_main, _BB_DIR_BIN, _BB_SUID_NEVER)
447 #endif
448 #ifdef CONFIG_PIPE_PROGRESS
449         APPLET_NOUSAGE("pipe_progress", pipe_progress_main, _BB_DIR_BIN, _BB_SUID_NEVER)
450 #endif
451 #ifdef CONFIG_PIVOT_ROOT
452         APPLET(pivot_root, pivot_root_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
453 #endif
454 #ifdef CONFIG_POWEROFF
455         APPLET(poweroff, poweroff_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
456 #endif
457 #ifdef CONFIG_PRINTF
458         APPLET(printf, printf_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
459 #endif
460 #ifdef CONFIG_PS
461         APPLET(ps, ps_main, _BB_DIR_BIN, _BB_SUID_NEVER)
462 #endif
463 #ifdef CONFIG_PWD
464         APPLET(pwd, pwd_main, _BB_DIR_BIN, _BB_SUID_NEVER)
465 #endif
466 #ifdef CONFIG_RDATE
467         APPLET(rdate, rdate_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
468 #endif
469 #ifdef CONFIG_READLINK
470         APPLET(readlink, readlink_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
471 #endif
472 #ifdef CONFIG_REALPATH
473         APPLET(realpath, realpath_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
474 #endif
475 #ifdef CONFIG_REBOOT
476         APPLET(reboot, reboot_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
477 #endif
478 #ifdef CONFIG_RENICE
479         APPLET(renice, renice_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
480 #endif
481 #ifdef CONFIG_RESET
482         APPLET(reset, reset_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
483 #endif
484 #ifdef CONFIG_RM
485         APPLET(rm, rm_main, _BB_DIR_BIN, _BB_SUID_NEVER)
486 #endif
487 #ifdef CONFIG_RMDIR
488         APPLET(rmdir, rmdir_main, _BB_DIR_BIN, _BB_SUID_NEVER)
489 #endif
490 #ifdef CONFIG_RMMOD
491         APPLET(rmmod, rmmod_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
492 #endif
493 #ifdef CONFIG_ROUTE
494         APPLET(route, route_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
495 #endif
496 #ifdef CONFIG_RPM
497         APPLET(rpm, rpm_main, _BB_DIR_BIN, _BB_SUID_NEVER)
498 #endif
499 #ifdef CONFIG_RPM2CPIO
500         APPLET(rpm2cpio, rpm2cpio_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
501 #endif
502 #ifdef CONFIG_RUN_PARTS
503         APPLET_ODDNAME("run-parts", run_parts_main, _BB_DIR_BIN, _BB_SUID_NEVER, run_parts)
504 #endif
505 #ifdef CONFIG_RX
506         APPLET(rx, rx_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
507 #endif
508 #ifdef CONFIG_SED
509         APPLET(sed, sed_main, _BB_DIR_BIN, _BB_SUID_NEVER)
510 #endif
511 #ifdef CONFIG_SEQ
512         APPLET(seq, seq_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
513 #endif
514 #ifdef CONFIG_SETKEYCODES
515         APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
516 #endif
517 #if defined(CONFIG_FEATURE_SH_IS_ASH) && defined(CONFIG_ASH)
518         APPLET_NOUSAGE("sh", ash_main, _BB_DIR_BIN, _BB_SUID_NEVER)
519 #elif defined(CONFIG_FEATURE_SH_IS_HUSH) && defined(CONFIG_HUSH)
520         APPLET_NOUSAGE("sh", hush_main, _BB_DIR_BIN, _BB_SUID_NEVER)
521 #elif defined(CONFIG_FEATURE_SH_IS_LASH) && defined(CONFIG_LASH)
522         APPLET_NOUSAGE("sh", lash_main, _BB_DIR_BIN, _BB_SUID_NEVER)
523 #elif defined(CONFIG_FEATURE_SH_IS_MSH) && defined(CONFIG_MSH)
524         APPLET_NOUSAGE("sh", msh_main, _BB_DIR_BIN, _BB_SUID_NEVER)
525 #endif
526 #ifdef CONFIG_SHA1SUM
527         APPLET(sha1sum, sha1sum_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
528 #endif
529 #ifdef CONFIG_SLEEP
530         APPLET(sleep, sleep_main, _BB_DIR_BIN, _BB_SUID_NEVER)
531 #endif
532 #ifdef CONFIG_SORT
533         APPLET(sort, sort_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
534 #endif
535 #ifdef CONFIG_START_STOP_DAEMON
536     APPLET_ODDNAME("start-stop-daemon", start_stop_daemon_main, _BB_DIR_SBIN, _BB_SUID_NEVER, start_stop_daemon)
537 #endif
538 #ifdef CONFIG_STRINGS
539         APPLET(strings, strings_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
540 #endif
541 #ifdef CONFIG_STTY
542         APPLET(stty, stty_main, _BB_DIR_BIN, _BB_SUID_NEVER)
543 #endif
544 #ifdef CONFIG_SU
545         APPLET(su, su_main, _BB_DIR_BIN, _BB_SUID_ALWAYS)
546 #endif
547 #ifdef CONFIG_SULOGIN
548         APPLET(sulogin, sulogin_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
549 #endif
550 #ifdef CONFIG_SWAPONOFF
551         APPLET(swapoff, swap_on_off_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
552 #endif
553 #ifdef CONFIG_SWAPONOFF
554         APPLET(swapon, swap_on_off_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
555 #endif
556 #ifdef CONFIG_SYNC
557         APPLET(sync, sync_main, _BB_DIR_BIN, _BB_SUID_NEVER)
558 #endif
559 #ifdef CONFIG_SYSCTL
560         APPLET(sysctl, sysctl_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
561 #endif
562 #ifdef CONFIG_SYSLOGD
563         APPLET(syslogd, syslogd_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
564 #endif
565 #ifdef CONFIG_TAIL
566         APPLET(tail, tail_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
567 #endif
568 #ifdef CONFIG_TAR
569         APPLET(tar, tar_main, _BB_DIR_BIN, _BB_SUID_NEVER)
570 #endif
571 #ifdef CONFIG_TEE
572         APPLET(tee, tee_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
573 #endif
574 #ifdef CONFIG_TELNET
575         APPLET(telnet, telnet_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
576 #endif
577 #ifdef CONFIG_TELNETD
578         APPLET(telnetd, telnetd_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
579 #endif
580 #ifdef CONFIG_TEST
581         APPLET(test, test_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
582 #endif
583 #ifdef CONFIG_TFTP
584         APPLET(tftp, tftp_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
585 #endif
586 #ifdef CONFIG_TIME
587         APPLET(time, time_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
588 #endif
589 #ifdef CONFIG_TOP
590         APPLET(top, top_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
591 #endif
592 #ifdef CONFIG_TOUCH
593         APPLET(touch, touch_main, _BB_DIR_BIN, _BB_SUID_NEVER)
594 #endif
595 #ifdef CONFIG_TR
596         APPLET(tr, tr_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
597 #endif
598 #ifdef CONFIG_TRACEROUTE
599         APPLET(traceroute, traceroute_main, _BB_DIR_USR_BIN, _BB_SUID_MAYBE)
600 #endif
601 #ifdef CONFIG_TRUE
602         APPLET(true, true_main, _BB_DIR_BIN, _BB_SUID_NEVER)
603 #endif
604 #ifdef CONFIG_TTY
605         APPLET(tty, tty_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
606 #endif
607 #ifdef CONFIG_UDHCPC
608         APPLET(udhcpc, udhcpc_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
609 #endif
610 #ifdef CONFIG_UDHCPD
611         APPLET(udhcpd, udhcpd_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
612 #endif
613 #ifdef CONFIG_UMOUNT
614         APPLET(umount, umount_main, _BB_DIR_BIN, _BB_SUID_NEVER)
615 #endif
616 #ifdef CONFIG_UNAME
617         APPLET(uname, uname_main, _BB_DIR_BIN, _BB_SUID_NEVER)
618 #endif
619 #ifdef CONFIG_UNCOMPRESS
620         APPLET(uncompress, uncompress_main, _BB_DIR_BIN, _BB_SUID_NEVER)
621 #endif
622 #ifdef CONFIG_UNIQ
623         APPLET(uniq, uniq_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
624 #endif
625 #ifdef CONFIG_UNIX2DOS
626         APPLET(unix2dos, dos2unix_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
627 #endif
628 #ifdef CONFIG_UNZIP
629         APPLET(unzip, unzip_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
630 #endif
631 #ifdef CONFIG_UPTIME
632         APPLET(uptime, uptime_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
633 #endif
634 #ifdef CONFIG_USLEEP
635         APPLET(usleep, usleep_main, _BB_DIR_BIN, _BB_SUID_NEVER)
636 #endif
637 #ifdef CONFIG_UUDECODE
638         APPLET(uudecode, uudecode_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
639 #endif
640 #ifdef CONFIG_UUENCODE
641         APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
642 #endif
643 #ifdef CONFIG_VCONFIG
644         APPLET(vconfig, vconfig_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
645 #endif
646 #ifdef CONFIG_VI
647         APPLET(vi, vi_main, _BB_DIR_BIN, _BB_SUID_NEVER)
648 #endif
649 #ifdef CONFIG_VLOCK
650         APPLET(vlock, vlock_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS)
651 #endif
652 #ifdef CONFIG_WATCH
653         APPLET(watch, watch_main, _BB_DIR_BIN, _BB_SUID_NEVER)
654 #endif
655 #ifdef CONFIG_WATCHDOG
656         APPLET(watchdog, watchdog_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
657 #endif
658 #ifdef CONFIG_WC
659         APPLET(wc, wc_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
660 #endif
661 #ifdef CONFIG_WGET
662         APPLET(wget, wget_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
663 #endif
664 #ifdef CONFIG_WHICH
665         APPLET(which, which_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
666 #endif
667 #ifdef CONFIG_WHO
668         APPLET(who, who_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
669 #endif
670 #ifdef CONFIG_WHOAMI
671         APPLET(whoami, whoami_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
672 #endif
673 #ifdef CONFIG_XARGS
674         APPLET(xargs, xargs_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
675 #endif
676 #ifdef CONFIG_YES
677         APPLET(yes, yes_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
678 #endif
679 #ifdef CONFIG_GUNZIP
680         APPLET(zcat, gunzip_main, _BB_DIR_BIN, _BB_SUID_NEVER)
681 #endif
682
683 #if !defined(PROTOTYPES) && !defined(MAKE_USAGE)
684         { 0,NULL,0 }
685 };
686
687 #endif