aboutsummaryrefslogtreecommitdiff
path: root/busybox.c
diff options
context:
space:
mode:
Diffstat (limited to 'busybox.c')
-rw-r--r--busybox.c64
1 files changed, 32 insertions, 32 deletions
diff --git a/busybox.c b/busybox.c
index a14711a67..15d53eb05 100644
--- a/busybox.c
+++ b/busybox.c
@@ -45,13 +45,13 @@ static const struct Applet applets[] = {
45 {"cat", cat_main, _BB_DIR_BIN}, 45 {"cat", cat_main, _BB_DIR_BIN},
46#endif 46#endif
47#ifdef BB_CHMOD_CHOWN_CHGRP 47#ifdef BB_CHMOD_CHOWN_CHGRP
48 {"chmod", chmod_chown_chgrp_main, _BB_DIR_BIN}, 48 {"chgrp", chmod_chown_chgrp_main, _BB_DIR_BIN},
49#endif 49#endif
50#ifdef BB_CHMOD_CHOWN_CHGRP 50#ifdef BB_CHMOD_CHOWN_CHGRP
51 {"chown", chmod_chown_chgrp_main, _BB_DIR_BIN}, 51 {"chmod", chmod_chown_chgrp_main, _BB_DIR_BIN},
52#endif 52#endif
53#ifdef BB_CHMOD_CHOWN_CHGRP 53#ifdef BB_CHMOD_CHOWN_CHGRP
54 {"chgrp", chmod_chown_chgrp_main, _BB_DIR_BIN}, 54 {"chown", chmod_chown_chgrp_main, _BB_DIR_BIN},
55#endif 55#endif
56#ifdef BB_CHROOT 56#ifdef BB_CHROOT
57 {"chroot", chroot_main, _BB_DIR_SBIN}, 57 {"chroot", chroot_main, _BB_DIR_SBIN},
@@ -65,9 +65,6 @@ static const struct Applet applets[] = {
65#ifdef BB_CP_MV 65#ifdef BB_CP_MV
66 {"cp", cp_mv_main, _BB_DIR_BIN}, 66 {"cp", cp_mv_main, _BB_DIR_BIN},
67#endif 67#endif
68#ifdef BB_CP_MV
69 {"mv", cp_mv_main, _BB_DIR_BIN},
70#endif
71#ifdef BB_DATE 68#ifdef BB_DATE
72 {"date", date_main, _BB_DIR_BIN}, 69 {"date", date_main, _BB_DIR_BIN},
73#endif 70#endif
@@ -92,6 +89,9 @@ static const struct Applet applets[] = {
92#ifdef BB_ECHO 89#ifdef BB_ECHO
93 {"echo", echo_main, _BB_DIR_BIN}, 90 {"echo", echo_main, _BB_DIR_BIN},
94#endif 91#endif
92#ifdef BB_TRUE_FALSE
93 {"false", false_main, _BB_DIR_BIN},
94#endif
95#ifdef BB_FBSET 95#ifdef BB_FBSET
96 {"fbset", fbset_main, _BB_DIR_USR_SBIN}, 96 {"fbset", fbset_main, _BB_DIR_USR_SBIN},
97#endif 97#endif
@@ -113,12 +113,15 @@ static const struct Applet applets[] = {
113#ifdef BB_FSCK_MINIX 113#ifdef BB_FSCK_MINIX
114 {"fsck.minix", fsck_minix_main, _BB_DIR_SBIN}, 114 {"fsck.minix", fsck_minix_main, _BB_DIR_SBIN},
115#endif 115#endif
116#ifdef BB_MKFS_MINIX
117 {"mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN},
118#endif
119#ifdef BB_GREP 116#ifdef BB_GREP
120 {"grep", grep_main, _BB_DIR_BIN}, 117 {"grep", grep_main, _BB_DIR_BIN},
121#endif 118#endif
119#ifdef BB_GUNZIP
120 {"gunzip", gunzip_main, _BB_DIR_BIN},
121#endif
122#ifdef BB_GZIP
123 {"gzip", gzip_main, _BB_DIR_BIN},
124#endif
122#ifdef BB_HALT 125#ifdef BB_HALT
123 {"halt", halt_main, _BB_DIR_SBIN}, 126 {"halt", halt_main, _BB_DIR_SBIN},
124#endif 127#endif
@@ -137,9 +140,6 @@ static const struct Applet applets[] = {
137#ifdef BB_INSMOD 140#ifdef BB_INSMOD
138 {"insmod", insmod_main, _BB_DIR_SBIN}, 141 {"insmod", insmod_main, _BB_DIR_SBIN},
139#endif 142#endif
140#ifdef BB_FEATURE_LINUXRC //
141 {"linuxrc", init_main, _BB_DIR_ROOT},
142#endif
143#ifdef BB_KILL 143#ifdef BB_KILL
144 {"kill", kill_main, _BB_DIR_BIN}, 144 {"kill", kill_main, _BB_DIR_BIN},
145#endif 145#endif
@@ -149,6 +149,9 @@ static const struct Applet applets[] = {
149#ifdef BB_LENGTH 149#ifdef BB_LENGTH
150 {"length", length_main, _BB_DIR_USR_BIN}, 150 {"length", length_main, _BB_DIR_USR_BIN},
151#endif 151#endif
152#ifdef BB_FEATURE_LINUXRC //
153 {"linuxrc", init_main, _BB_DIR_ROOT},
154#endif
152#ifdef BB_LN 155#ifdef BB_LN
153 {"ln", ln_main, _BB_DIR_BIN}, 156 {"ln", ln_main, _BB_DIR_BIN},
154#endif 157#endif
@@ -161,6 +164,12 @@ static const struct Applet applets[] = {
161#ifdef BB_LOADKMAP 164#ifdef BB_LOADKMAP
162 {"loadkmap", loadkmap_main, _BB_DIR_SBIN}, 165 {"loadkmap", loadkmap_main, _BB_DIR_SBIN},
163#endif 166#endif
167#ifdef BB_LOGGER
168 {"logger", logger_main, _BB_DIR_USR_BIN},
169#endif
170#ifdef BB_LOGNAME
171 {"logname", logname_main, _BB_DIR_USR_BIN},
172#endif
164#ifdef BB_LS 173#ifdef BB_LS
165 {"ls", ls_main, _BB_DIR_BIN}, 174 {"ls", ls_main, _BB_DIR_BIN},
166#endif 175#endif
@@ -179,6 +188,9 @@ static const struct Applet applets[] = {
179#ifdef BB_MKFIFO 188#ifdef BB_MKFIFO
180 {"mkfifo", mkfifo_main, _BB_DIR_USR_BIN}, 189 {"mkfifo", mkfifo_main, _BB_DIR_USR_BIN},
181#endif 190#endif
191#ifdef BB_MKFS_MINIX
192 {"mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN},
193#endif
182#ifdef BB_MKNOD 194#ifdef BB_MKNOD
183 {"mknod", mknod_main, _BB_DIR_BIN}, 195 {"mknod", mknod_main, _BB_DIR_BIN},
184#endif 196#endif
@@ -197,6 +209,9 @@ static const struct Applet applets[] = {
197#ifdef BB_MT 209#ifdef BB_MT
198 {"mt", mt_main, _BB_DIR_BIN}, 210 {"mt", mt_main, _BB_DIR_BIN},
199#endif 211#endif
212#ifdef BB_CP_MV
213 {"mv", cp_mv_main, _BB_DIR_BIN},
214#endif
200#ifdef BB_NSLOOKUP 215#ifdef BB_NSLOOKUP
201 {"nslookup", nslookup_main, _BB_DIR_USR_BIN}, 216 {"nslookup", nslookup_main, _BB_DIR_USR_BIN},
202#endif 217#endif
@@ -248,12 +263,6 @@ static const struct Applet applets[] = {
248#ifdef BB_SYSLOGD 263#ifdef BB_SYSLOGD
249 {"syslogd", syslogd_main, _BB_DIR_SBIN}, 264 {"syslogd", syslogd_main, _BB_DIR_SBIN},
250#endif 265#endif
251#ifdef BB_LOGGER
252 {"logger", logger_main, _BB_DIR_USR_BIN},
253#endif
254#ifdef BB_LOGNAME
255 {"logname", logname_main, _BB_DIR_USR_BIN},
256#endif
257#ifdef BB_SWAPONOFF 266#ifdef BB_SWAPONOFF
258 {"swapon", swap_on_off_main, _BB_DIR_SBIN}, 267 {"swapon", swap_on_off_main, _BB_DIR_SBIN},
259#endif 268#endif
@@ -270,9 +279,6 @@ static const struct Applet applets[] = {
270 {"telnet", telnet_main, _BB_DIR_USR_BIN}, 279 {"telnet", telnet_main, _BB_DIR_USR_BIN},
271#endif 280#endif
272#ifdef BB_TEST 281#ifdef BB_TEST
273 {"[", test_main, _BB_DIR_USR_BIN},
274#endif
275#ifdef BB_TEST
276 {"test", test_main, _BB_DIR_USR_BIN}, 282 {"test", test_main, _BB_DIR_USR_BIN},
277#endif 283#endif
278#ifdef BB_TEE 284#ifdef BB_TEE
@@ -287,9 +293,6 @@ static const struct Applet applets[] = {
287#ifdef BB_TRUE_FALSE 293#ifdef BB_TRUE_FALSE
288 {"true", true_main, _BB_DIR_BIN}, 294 {"true", true_main, _BB_DIR_BIN},
289#endif 295#endif
290#ifdef BB_TRUE_FALSE
291 {"false", false_main, _BB_DIR_BIN},
292#endif
293#ifdef BB_TTY 296#ifdef BB_TTY
294 {"tty", tty_main, _BB_DIR_USR_BIN}, 297 {"tty", tty_main, _BB_DIR_USR_BIN},
295#endif 298#endif
@@ -299,15 +302,15 @@ static const struct Applet applets[] = {
299#ifdef BB_UNAME 302#ifdef BB_UNAME
300 {"uname", uname_main, _BB_DIR_BIN}, 303 {"uname", uname_main, _BB_DIR_BIN},
301#endif 304#endif
302#ifdef BB_UPTIME
303 {"uptime", uptime_main, _BB_DIR_USR_BIN},
304#endif
305#ifdef BB_UNIQ 305#ifdef BB_UNIQ
306 {"uniq", uniq_main, _BB_DIR_BIN}, 306 {"uniq", uniq_main, _BB_DIR_BIN},
307#endif 307#endif
308#ifdef BB_UPDATE 308#ifdef BB_UPDATE
309 {"update", update_main, _BB_DIR_SBIN}, 309 {"update", update_main, _BB_DIR_SBIN},
310#endif 310#endif
311#ifdef BB_UPTIME
312 {"uptime", uptime_main, _BB_DIR_USR_BIN},
313#endif
311#ifdef BB_USLEEP 314#ifdef BB_USLEEP
312 {"usleep", usleep_main, _BB_DIR_BIN}, 315 {"usleep", usleep_main, _BB_DIR_BIN},
313#endif 316#endif
@@ -323,11 +326,8 @@ static const struct Applet applets[] = {
323#ifdef BB_GUNZIP 326#ifdef BB_GUNZIP
324 {"zcat", gunzip_main, _BB_DIR_BIN}, 327 {"zcat", gunzip_main, _BB_DIR_BIN},
325#endif 328#endif
326#ifdef BB_GUNZIP 329#ifdef BB_TEST
327 {"gunzip", gunzip_main, _BB_DIR_BIN}, 330 {"[", test_main, _BB_DIR_USR_BIN},
328#endif
329#ifdef BB_GZIP
330 {"gzip", gzip_main, _BB_DIR_BIN},
331#endif 331#endif
332 {0} 332 {0}
333}; 333};