diff options
Diffstat (limited to 'applets')
-rw-r--r-- | applets/busybox.c | 196 |
1 files changed, 98 insertions, 98 deletions
diff --git a/applets/busybox.c b/applets/busybox.c index ee745e73e..95fee63d6 100644 --- a/applets/busybox.c +++ b/applets/busybox.c | |||
@@ -32,301 +32,301 @@ void *__libc_stack_end; | |||
32 | 32 | ||
33 | static const struct Applet applets[] = { | 33 | static const struct Applet applets[] = { |
34 | 34 | ||
35 | #ifdef BB_BASENAME //usr/bin/basename | 35 | #ifdef BB_BASENAME |
36 | {"basename", basename_main, _BB_DIR_USR_BIN}, | 36 | {"basename", basename_main, _BB_DIR_USR_BIN}, |
37 | #endif | 37 | #endif |
38 | #ifdef BB_BUSYBOX //bin | 38 | #ifdef BB_BUSYBOX |
39 | {"busybox", busybox_main, _BB_DIR_BIN}, | 39 | {"busybox", busybox_main, _BB_DIR_BIN}, |
40 | #endif | 40 | #endif |
41 | #ifdef BB_BLOCK_DEVICE //sbin | 41 | #ifdef BB_BLOCK_DEVICE |
42 | {"block_device", block_device_main, _BB_DIR_SBIN}, | 42 | {"block_device", block_device_main, _BB_DIR_SBIN}, |
43 | #endif | 43 | #endif |
44 | #ifdef BB_CAT //bin | 44 | #ifdef BB_CAT |
45 | {"cat", cat_main, _BB_DIR_BIN}, | 45 | {"cat", cat_main, _BB_DIR_BIN}, |
46 | #endif | 46 | #endif |
47 | #ifdef BB_CHMOD_CHOWN_CHGRP //bin | 47 | #ifdef BB_CHMOD_CHOWN_CHGRP |
48 | {"chmod", chmod_chown_chgrp_main, _BB_DIR_BIN}, | 48 | {"chmod", chmod_chown_chgrp_main, _BB_DIR_BIN}, |
49 | #endif | 49 | #endif |
50 | #ifdef BB_CHMOD_CHOWN_CHGRP //bin | 50 | #ifdef BB_CHMOD_CHOWN_CHGRP |
51 | {"chown", chmod_chown_chgrp_main, _BB_DIR_BIN}, | 51 | {"chown", chmod_chown_chgrp_main, _BB_DIR_BIN}, |
52 | #endif | 52 | #endif |
53 | #ifdef BB_CHMOD_CHOWN_CHGRP //bin | 53 | #ifdef BB_CHMOD_CHOWN_CHGRP |
54 | {"chgrp", chmod_chown_chgrp_main, _BB_DIR_BIN}, | 54 | {"chgrp", chmod_chown_chgrp_main, _BB_DIR_BIN}, |
55 | #endif | 55 | #endif |
56 | #ifdef BB_CHROOT //sbin | 56 | #ifdef BB_CHROOT |
57 | {"chroot", chroot_main, _BB_DIR_SBIN}, | 57 | {"chroot", chroot_main, _BB_DIR_SBIN}, |
58 | #endif | 58 | #endif |
59 | #ifdef BB_CLEAR //usr/bin | 59 | #ifdef BB_CLEAR |
60 | {"clear", clear_main, _BB_DIR_USR_BIN}, | 60 | {"clear", clear_main, _BB_DIR_USR_BIN}, |
61 | #endif | 61 | #endif |
62 | #ifdef BB_CHVT //usr/bin | 62 | #ifdef BB_CHVT |
63 | {"chvt", chvt_main, _BB_DIR_USR_BIN}, | 63 | {"chvt", chvt_main, _BB_DIR_USR_BIN}, |
64 | #endif | 64 | #endif |
65 | #ifdef BB_CP_MV //bin | 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 //bin | 68 | #ifdef BB_CP_MV |
69 | {"mv", cp_mv_main, _BB_DIR_BIN}, | 69 | {"mv", cp_mv_main, _BB_DIR_BIN}, |
70 | #endif | 70 | #endif |
71 | #ifdef BB_DATE //bin | 71 | #ifdef BB_DATE |
72 | {"date", date_main, _BB_DIR_BIN}, | 72 | {"date", date_main, _BB_DIR_BIN}, |
73 | #endif | 73 | #endif |
74 | #ifdef BB_DD //bin | 74 | #ifdef BB_DD |
75 | {"dd", dd_main, _BB_DIR_BIN}, | 75 | {"dd", dd_main, _BB_DIR_BIN}, |
76 | #endif | 76 | #endif |
77 | #ifdef BB_DF //bin | 77 | #ifdef BB_DF |
78 | {"df", df_main, _BB_DIR_BIN}, | 78 | {"df", df_main, _BB_DIR_BIN}, |
79 | #endif | 79 | #endif |
80 | #ifdef BB_DIRNAME //usr/bin | 80 | #ifdef BB_DIRNAME |
81 | {"dirname", dirname_main, _BB_DIR_USR_BIN}, | 81 | {"dirname", dirname_main, _BB_DIR_USR_BIN}, |
82 | #endif | 82 | #endif |
83 | #ifdef BB_DMESG //bin | 83 | #ifdef BB_DMESG |
84 | {"dmesg", dmesg_main, _BB_DIR_BIN}, | 84 | {"dmesg", dmesg_main, _BB_DIR_BIN}, |
85 | #endif | 85 | #endif |
86 | #ifdef BB_DU //bin | 86 | #ifdef BB_DU |
87 | {"du", du_main, _BB_DIR_BIN}, | 87 | {"du", du_main, _BB_DIR_BIN}, |
88 | #endif | 88 | #endif |
89 | #ifdef BB_DUTMP //usr/sbin | 89 | #ifdef BB_DUTMP |
90 | {"dutmp", dutmp_main, _BB_DIR_USR_SBIN}, | 90 | {"dutmp", dutmp_main, _BB_DIR_USR_SBIN}, |
91 | #endif | 91 | #endif |
92 | #ifdef BB_ECHO //bin | 92 | #ifdef BB_ECHO |
93 | {"echo", echo_main, _BB_DIR_BIN}, | 93 | {"echo", echo_main, _BB_DIR_BIN}, |
94 | #endif | 94 | #endif |
95 | #ifdef BB_FBSET //usr/sbin | 95 | #ifdef BB_FBSET |
96 | {"fbset", fbset_main, _BB_DIR_USR_SBIN}, | 96 | {"fbset", fbset_main, _BB_DIR_USR_SBIN}, |
97 | #endif | 97 | #endif |
98 | #ifdef BB_FDFLUSH //bin | 98 | #ifdef BB_FDFLUSH |
99 | {"fdflush", fdflush_main, _BB_DIR_BIN}, | 99 | {"fdflush", fdflush_main, _BB_DIR_BIN}, |
100 | #endif | 100 | #endif |
101 | #ifdef BB_FIND //usr/bin | 101 | #ifdef BB_FIND |
102 | {"find", find_main, _BB_DIR_USR_BIN}, | 102 | {"find", find_main, _BB_DIR_USR_BIN}, |
103 | #endif | 103 | #endif |
104 | #ifdef BB_FREE //usr/bin | 104 | #ifdef BB_FREE |
105 | {"free", free_main, _BB_DIR_USR_BIN}, | 105 | {"free", free_main, _BB_DIR_USR_BIN}, |
106 | #endif | 106 | #endif |
107 | #ifdef BB_FREERAMDISK //sbin | 107 | #ifdef BB_FREERAMDISK |
108 | {"freeramdisk", freeramdisk_main, _BB_DIR_SBIN}, | 108 | {"freeramdisk", freeramdisk_main, _BB_DIR_SBIN}, |
109 | #endif | 109 | #endif |
110 | #ifdef BB_DEALLOCVT //usr/bin | 110 | #ifdef BB_DEALLOCVT |
111 | {"deallocvt", deallocvt_main, _BB_DIR_USR_BIN}, | 111 | {"deallocvt", deallocvt_main, _BB_DIR_USR_BIN}, |
112 | #endif | 112 | #endif |
113 | #ifdef BB_FSCK_MINIX //sbin | 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 //sbin | 116 | #ifdef BB_MKFS_MINIX |
117 | {"mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN}, | 117 | {"mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN}, |
118 | #endif | 118 | #endif |
119 | #ifdef BB_GREP //bin | 119 | #ifdef BB_GREP |
120 | {"grep", grep_main, _BB_DIR_BIN}, | 120 | {"grep", grep_main, _BB_DIR_BIN}, |
121 | #endif | 121 | #endif |
122 | #ifdef BB_HALT //sbin | 122 | #ifdef BB_HALT |
123 | {"halt", halt_main, _BB_DIR_SBIN}, | 123 | {"halt", halt_main, _BB_DIR_SBIN}, |
124 | #endif | 124 | #endif |
125 | #ifdef BB_HEAD //bin | 125 | #ifdef BB_HEAD |
126 | {"head", head_main, _BB_DIR_BIN}, | 126 | {"head", head_main, _BB_DIR_BIN}, |
127 | #endif | 127 | #endif |
128 | #ifdef BB_HOSTID //usr/bin | 128 | #ifdef BB_HOSTID |
129 | {"hostid", hostid_main, _BB_DIR_USR_BIN}, | 129 | {"hostid", hostid_main, _BB_DIR_USR_BIN}, |
130 | #endif | 130 | #endif |
131 | #ifdef BB_HOSTNAME //bin | 131 | #ifdef BB_HOSTNAME |
132 | {"hostname", hostname_main, _BB_DIR_BIN}, | 132 | {"hostname", hostname_main, _BB_DIR_BIN}, |
133 | #endif | 133 | #endif |
134 | #ifdef BB_INIT //sbin | 134 | #ifdef BB_INIT |
135 | {"init", init_main, _BB_DIR_SBIN}, | 135 | {"init", init_main, _BB_DIR_SBIN}, |
136 | #endif | 136 | #endif |
137 | #ifdef BB_INSMOD //sbin | 137 | #ifdef BB_INSMOD |
138 | {"insmod", insmod_main, _BB_DIR_SBIN}, | 138 | {"insmod", insmod_main, _BB_DIR_SBIN}, |
139 | #endif | 139 | #endif |
140 | #ifdef BB_FEATURE_LINUXRC // | 140 | #ifdef BB_FEATURE_LINUXRC // |
141 | {"linuxrc", init_main, _BB_DIR_ROOT}, | 141 | {"linuxrc", init_main, _BB_DIR_ROOT}, |
142 | #endif | 142 | #endif |
143 | #ifdef BB_KILL //bin | 143 | #ifdef BB_KILL |
144 | {"kill", kill_main, _BB_DIR_BIN}, | 144 | {"kill", kill_main, _BB_DIR_BIN}, |
145 | #endif | 145 | #endif |
146 | #ifdef BB_KILLALL //usr/bin | 146 | #ifdef BB_KILLALL |
147 | {"killall", kill_main, _BB_DIR_USR_BIN}, | 147 | {"killall", kill_main, _BB_DIR_USR_BIN}, |
148 | #endif | 148 | #endif |
149 | #ifdef BB_LENGTH //usr/bin | 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_LN //bin | 152 | #ifdef BB_LN |
153 | {"ln", ln_main, _BB_DIR_BIN}, | 153 | {"ln", ln_main, _BB_DIR_BIN}, |
154 | #endif | 154 | #endif |
155 | #ifdef BB_LOADACM //usr/bin | 155 | #ifdef BB_LOADACM |
156 | {"loadacm", loadacm_main, _BB_DIR_USR_BIN}, | 156 | {"loadacm", loadacm_main, _BB_DIR_USR_BIN}, |
157 | #endif | 157 | #endif |
158 | #ifdef BB_LOADFONT //usr/bin | 158 | #ifdef BB_LOADFONT |
159 | {"loadfont", loadfont_main, _BB_DIR_USR_BIN}, | 159 | {"loadfont", loadfont_main, _BB_DIR_USR_BIN}, |
160 | #endif | 160 | #endif |
161 | #ifdef BB_LOADKMAP //sbin | 161 | #ifdef BB_LOADKMAP |
162 | {"loadkmap", loadkmap_main, _BB_DIR_SBIN}, | 162 | {"loadkmap", loadkmap_main, _BB_DIR_SBIN}, |
163 | #endif | 163 | #endif |
164 | #ifdef BB_LS //bin | 164 | #ifdef BB_LS |
165 | {"ls", ls_main, _BB_DIR_BIN}, | 165 | {"ls", ls_main, _BB_DIR_BIN}, |
166 | #endif | 166 | #endif |
167 | #ifdef BB_LSMOD //sbin | 167 | #ifdef BB_LSMOD |
168 | {"lsmod", lsmod_main, _BB_DIR_SBIN}, | 168 | {"lsmod", lsmod_main, _BB_DIR_SBIN}, |
169 | #endif | 169 | #endif |
170 | #ifdef BB_MAKEDEVS //sbin | 170 | #ifdef BB_MAKEDEVS |
171 | {"makedevs", makedevs_main, _BB_DIR_SBIN}, | 171 | {"makedevs", makedevs_main, _BB_DIR_SBIN}, |
172 | #endif | 172 | #endif |
173 | #ifdef BB_MATH //usr/bin | 173 | #ifdef BB_MATH |
174 | {"math", math_main, _BB_DIR_USR_BIN}, | 174 | {"math", math_main, _BB_DIR_USR_BIN}, |
175 | #endif | 175 | #endif |
176 | #ifdef BB_MKDIR //bin | 176 | #ifdef BB_MKDIR |
177 | {"mkdir", mkdir_main, _BB_DIR_BIN}, | 177 | {"mkdir", mkdir_main, _BB_DIR_BIN}, |
178 | #endif | 178 | #endif |
179 | #ifdef BB_MKFIFO //usr/bin | 179 | #ifdef BB_MKFIFO |
180 | {"mkfifo", mkfifo_main, _BB_DIR_USR_BIN}, | 180 | {"mkfifo", mkfifo_main, _BB_DIR_USR_BIN}, |
181 | #endif | 181 | #endif |
182 | #ifdef BB_MKNOD //bin | 182 | #ifdef BB_MKNOD |
183 | {"mknod", mknod_main, _BB_DIR_BIN}, | 183 | {"mknod", mknod_main, _BB_DIR_BIN}, |
184 | #endif | 184 | #endif |
185 | #ifdef BB_MKSWAP //sbin | 185 | #ifdef BB_MKSWAP |
186 | {"mkswap", mkswap_main, _BB_DIR_SBIN}, | 186 | {"mkswap", mkswap_main, _BB_DIR_SBIN}, |
187 | #endif | 187 | #endif |
188 | #ifdef BB_MNC //usr/bin | 188 | #ifdef BB_MNC |
189 | {"mnc", mnc_main, _BB_DIR_USR_BIN}, | 189 | {"mnc", mnc_main, _BB_DIR_USR_BIN}, |
190 | #endif | 190 | #endif |
191 | #ifdef BB_MORE //bin | 191 | #ifdef BB_MORE |
192 | {"more", more_main, _BB_DIR_BIN}, | 192 | {"more", more_main, _BB_DIR_BIN}, |
193 | #endif | 193 | #endif |
194 | #ifdef BB_MOUNT //bin | 194 | #ifdef BB_MOUNT |
195 | {"mount", mount_main, _BB_DIR_BIN}, | 195 | {"mount", mount_main, _BB_DIR_BIN}, |
196 | #endif | 196 | #endif |
197 | #ifdef BB_MT //bin | 197 | #ifdef BB_MT |
198 | {"mt", mt_main, _BB_DIR_BIN}, | 198 | {"mt", mt_main, _BB_DIR_BIN}, |
199 | #endif | 199 | #endif |
200 | #ifdef BB_NSLOOKUP //usr/bin | 200 | #ifdef BB_NSLOOKUP |
201 | {"nslookup", nslookup_main, _BB_DIR_USR_BIN}, | 201 | {"nslookup", nslookup_main, _BB_DIR_USR_BIN}, |
202 | #endif | 202 | #endif |
203 | #ifdef BB_PING //bin | 203 | #ifdef BB_PING |
204 | {"ping", ping_main, _BB_DIR_BIN}, | 204 | {"ping", ping_main, _BB_DIR_BIN}, |
205 | #endif | 205 | #endif |
206 | #ifdef BB_POWEROFF //sbin | 206 | #ifdef BB_POWEROFF |
207 | {"poweroff", poweroff_main, _BB_DIR_SBIN}, | 207 | {"poweroff", poweroff_main, _BB_DIR_SBIN}, |
208 | #endif | 208 | #endif |
209 | #ifdef BB_PRINTF //usr/bin | 209 | #ifdef BB_PRINTF |
210 | {"printf", printf_main, _BB_DIR_USR_BIN}, | 210 | {"printf", printf_main, _BB_DIR_USR_BIN}, |
211 | #endif | 211 | #endif |
212 | #ifdef BB_PS //bin | 212 | #ifdef BB_PS |
213 | {"ps", ps_main, _BB_DIR_BIN}, | 213 | {"ps", ps_main, _BB_DIR_BIN}, |
214 | #endif | 214 | #endif |
215 | #ifdef BB_PWD //bin | 215 | #ifdef BB_PWD |
216 | {"pwd", pwd_main, _BB_DIR_BIN}, | 216 | {"pwd", pwd_main, _BB_DIR_BIN}, |
217 | #endif | 217 | #endif |
218 | #ifdef BB_REBOOT //sbin | 218 | #ifdef BB_REBOOT |
219 | {"reboot", reboot_main, _BB_DIR_SBIN}, | 219 | {"reboot", reboot_main, _BB_DIR_SBIN}, |
220 | #endif | 220 | #endif |
221 | #ifdef BB_RM //bin | 221 | #ifdef BB_RM |
222 | {"rm", rm_main, _BB_DIR_BIN}, | 222 | {"rm", rm_main, _BB_DIR_BIN}, |
223 | #endif | 223 | #endif |
224 | #ifdef BB_RMDIR //bin | 224 | #ifdef BB_RMDIR |
225 | {"rmdir", rmdir_main, _BB_DIR_BIN}, | 225 | {"rmdir", rmdir_main, _BB_DIR_BIN}, |
226 | #endif | 226 | #endif |
227 | #ifdef BB_RMMOD //sbin | 227 | #ifdef BB_RMMOD |
228 | {"rmmod", rmmod_main, _BB_DIR_SBIN}, | 228 | {"rmmod", rmmod_main, _BB_DIR_SBIN}, |
229 | #endif | 229 | #endif |
230 | #ifdef BB_SED //bin | 230 | #ifdef BB_SED |
231 | {"sed", sed_main, _BB_DIR_BIN}, | 231 | {"sed", sed_main, _BB_DIR_BIN}, |
232 | #endif | 232 | #endif |
233 | #ifdef BB_SH //bin | 233 | #ifdef BB_SH |
234 | {"sh", shell_main, _BB_DIR_BIN}, | 234 | {"sh", shell_main, _BB_DIR_BIN}, |
235 | #endif | 235 | #endif |
236 | #ifdef BB_SFDISK //sbin | 236 | #ifdef BB_SFDISK |
237 | {"fdisk", sfdisk_main, _BB_DIR_SBIN}, | 237 | {"fdisk", sfdisk_main, _BB_DIR_SBIN}, |
238 | #ifdef BB_SFDISK //sbin | 238 | #ifdef BB_SFDISK |
239 | #endif | 239 | #endif |
240 | {"sfdisk", sfdisk_main, _BB_DIR_SBIN}, | 240 | {"sfdisk", sfdisk_main, _BB_DIR_SBIN}, |
241 | #endif | 241 | #endif |
242 | #ifdef BB_SLEEP //bin | 242 | #ifdef BB_SLEEP |
243 | {"sleep", sleep_main, _BB_DIR_BIN}, | 243 | {"sleep", sleep_main, _BB_DIR_BIN}, |
244 | #endif | 244 | #endif |
245 | #ifdef BB_SORT //bin | 245 | #ifdef BB_SORT |
246 | {"sort", sort_main, _BB_DIR_BIN}, | 246 | {"sort", sort_main, _BB_DIR_BIN}, |
247 | #endif | 247 | #endif |
248 | #ifdef BB_SYNC //bin | 248 | #ifdef BB_SYNC |
249 | {"sync", sync_main, _BB_DIR_BIN}, | 249 | {"sync", sync_main, _BB_DIR_BIN}, |
250 | #endif | 250 | #endif |
251 | #ifdef BB_SYSLOGD //sbin | 251 | #ifdef BB_SYSLOGD |
252 | {"syslogd", syslogd_main, _BB_DIR_SBIN}, | 252 | {"syslogd", syslogd_main, _BB_DIR_SBIN}, |
253 | #endif | 253 | #endif |
254 | #ifdef BB_LOGGER //usr/bin | 254 | #ifdef BB_LOGGER |
255 | {"logger", logger_main, _BB_DIR_USR_BIN}, | 255 | {"logger", logger_main, _BB_DIR_USR_BIN}, |
256 | #endif | 256 | #endif |
257 | #ifdef BB_LOGNAME //usr/bin | 257 | #ifdef BB_LOGNAME |
258 | {"logname", logname_main, _BB_DIR_USR_BIN}, | 258 | {"logname", logname_main, _BB_DIR_USR_BIN}, |
259 | #endif | 259 | #endif |
260 | #ifdef BB_SWAPONOFF //sbin | 260 | #ifdef BB_SWAPONOFF |
261 | {"swapon", swap_on_off_main, _BB_DIR_SBIN}, | 261 | {"swapon", swap_on_off_main, _BB_DIR_SBIN}, |
262 | #endif | 262 | #endif |
263 | #ifdef BB_SWAPONOFF //sbin | 263 | #ifdef BB_SWAPONOFF |
264 | {"swapoff", swap_on_off_main, _BB_DIR_SBIN}, | 264 | {"swapoff", swap_on_off_main, _BB_DIR_SBIN}, |
265 | #endif | 265 | #endif |
266 | #ifdef BB_TAIL //usr/bin | 266 | #ifdef BB_TAIL |
267 | {"tail", tail_main, _BB_DIR_USR_BIN}, | 267 | {"tail", tail_main, _BB_DIR_USR_BIN}, |
268 | #endif | 268 | #endif |
269 | #ifdef BB_TAR //bin | 269 | #ifdef BB_TAR |
270 | {"tar", tar_main, _BB_DIR_BIN}, | 270 | {"tar", tar_main, _BB_DIR_BIN}, |
271 | #endif | 271 | #endif |
272 | #ifdef BB_TELNET //usr/bin | 272 | #ifdef BB_TELNET |
273 | {"telnet", telnet_main, _BB_DIR_USR_BIN}, | 273 | {"telnet", telnet_main, _BB_DIR_USR_BIN}, |
274 | #endif | 274 | #endif |
275 | #ifdef BB_TEST //usr/bin | 275 | #ifdef BB_TEST |
276 | {"[", test_main, _BB_DIR_USR_BIN}, | 276 | {"[", test_main, _BB_DIR_USR_BIN}, |
277 | #endif | 277 | #endif |
278 | #ifdef BB_TEST //usr/bin | 278 | #ifdef BB_TEST |
279 | {"test", test_main, _BB_DIR_USR_BIN}, | 279 | {"test", test_main, _BB_DIR_USR_BIN}, |
280 | #endif | 280 | #endif |
281 | #ifdef BB_TEE //bin | 281 | #ifdef BB_TEE |
282 | {"tee", tee_main, _BB_DIR_BIN}, | 282 | {"tee", tee_main, _BB_DIR_BIN}, |
283 | #endif | 283 | #endif |
284 | #ifdef BB_TOUCH //usr/bin | 284 | #ifdef BB_TOUCH |
285 | {"touch", touch_main, _BB_DIR_USR_BIN}, | 285 | {"touch", touch_main, _BB_DIR_USR_BIN}, |
286 | #endif | 286 | #endif |
287 | #ifdef BB_TR //usr/bin | 287 | #ifdef BB_TR |
288 | {"tr", tr_main, _BB_DIR_USR_BIN}, | 288 | {"tr", tr_main, _BB_DIR_USR_BIN}, |
289 | #endif | 289 | #endif |
290 | #ifdef BB_TRUE_FALSE //bin | 290 | #ifdef BB_TRUE_FALSE |
291 | {"true", true_main, _BB_DIR_BIN}, | 291 | {"true", true_main, _BB_DIR_BIN}, |
292 | #endif | 292 | #endif |
293 | #ifdef BB_TRUE_FALSE //bin | 293 | #ifdef BB_TRUE_FALSE |
294 | {"false", false_main, _BB_DIR_BIN}, | 294 | {"false", false_main, _BB_DIR_BIN}, |
295 | #endif | 295 | #endif |
296 | #ifdef BB_TTY //usr/bin | 296 | #ifdef BB_TTY |
297 | {"tty", tty_main, _BB_DIR_USR_BIN}, | 297 | {"tty", tty_main, _BB_DIR_USR_BIN}, |
298 | #endif | 298 | #endif |
299 | #ifdef BB_UMOUNT //bin | 299 | #ifdef BB_UMOUNT |
300 | {"umount", umount_main, _BB_DIR_BIN}, | 300 | {"umount", umount_main, _BB_DIR_BIN}, |
301 | #endif | 301 | #endif |
302 | #ifdef BB_UNAME //bin | 302 | #ifdef BB_UNAME |
303 | {"uname", uname_main, _BB_DIR_BIN}, | 303 | {"uname", uname_main, _BB_DIR_BIN}, |
304 | #endif | 304 | #endif |
305 | #ifdef BB_UPTIME //usr/bin | 305 | #ifdef BB_UPTIME |
306 | {"uptime", uptime_main, _BB_DIR_USR_BIN}, | 306 | {"uptime", uptime_main, _BB_DIR_USR_BIN}, |
307 | #endif | 307 | #endif |
308 | #ifdef BB_UNIQ //bin | 308 | #ifdef BB_UNIQ |
309 | {"uniq", uniq_main, _BB_DIR_BIN}, | 309 | {"uniq", uniq_main, _BB_DIR_BIN}, |
310 | #endif | 310 | #endif |
311 | #ifdef BB_UPDATE //sbin | 311 | #ifdef BB_UPDATE |
312 | {"update", update_main, _BB_DIR_SBIN}, | 312 | {"update", update_main, _BB_DIR_SBIN}, |
313 | #endif | 313 | #endif |
314 | #ifdef BB_WC //usr/bin | 314 | #ifdef BB_WC |
315 | {"wc", wc_main, _BB_DIR_USR_BIN}, | 315 | {"wc", wc_main, _BB_DIR_USR_BIN}, |
316 | #endif | 316 | #endif |
317 | #ifdef BB_WHOAMI //usr/bin | 317 | #ifdef BB_WHOAMI |
318 | {"whoami", whoami_main, _BB_DIR_USR_BIN}, | 318 | {"whoami", whoami_main, _BB_DIR_USR_BIN}, |
319 | #endif | 319 | #endif |
320 | #ifdef BB_YES //usr/bin | 320 | #ifdef BB_YES |
321 | {"yes", yes_main, _BB_DIR_USR_BIN}, | 321 | {"yes", yes_main, _BB_DIR_USR_BIN}, |
322 | #endif | 322 | #endif |
323 | #ifdef BB_GUNZIP //bin | 323 | #ifdef BB_GUNZIP |
324 | {"zcat", gunzip_main, _BB_DIR_BIN}, | 324 | {"zcat", gunzip_main, _BB_DIR_BIN}, |
325 | #endif | 325 | #endif |
326 | #ifdef BB_GUNZIP //bin | 326 | #ifdef BB_GUNZIP |
327 | {"gunzip", gunzip_main, _BB_DIR_BIN}, | 327 | {"gunzip", gunzip_main, _BB_DIR_BIN}, |
328 | #endif | 328 | #endif |
329 | #ifdef BB_GZIP //bin | 329 | #ifdef BB_GZIP |
330 | {"gzip", gzip_main, _BB_DIR_BIN}, | 330 | {"gzip", gzip_main, _BB_DIR_BIN}, |
331 | #endif | 331 | #endif |
332 | {0} | 332 | {0} |