summaryrefslogtreecommitdiff
path: root/package/busybox/config/miscutils/Config.in
blob: cafe66989cf3055e3b4dcc9e48756cfb3f71f1ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
# DO NOT EDIT. This file is generated from Config.src
#
# For a description of the syntax of this configuration file,
# see scripts/kbuild/config-language.txt.
#

menu "Miscellaneous Utilities"

config BUSYBOX_CONSPY
	bool "conspy"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  A text-mode VNC like program for Linux virtual terminals.
	  example:  conspy NUM      shared access to console num
	  or        conspy -nd NUM  screenshot of console num
	  or        conspy -cs NUM  poor man's GNU screen like

config BUSYBOX_I2CGET
	bool "i2cget"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Read from I2C/SMBus chip registers.

config BUSYBOX_I2CSET
	bool "i2cset"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Set I2C registers.

config BUSYBOX_I2CDUMP
	bool "i2cdump"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Examine I2C registers.

config BUSYBOX_I2CDETECT
	bool "i2cdetect"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Detect I2C chips.

config BUSYBOX_I2CTRANSFER
	bool "i2ctransfer (4.0 kb)"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	Send user-defined I2C messages in one transfer.

config BUSYBOX_LESS
	bool "less"
	depends on !BUSYBOX_DISABLE_LESS
	default n
	help
	  'less' is a pager, meaning that it displays text files. It possesses
	  a wide array of features, and is an improvement over 'more'.

config BUSYBOX_FEATURE_LESS_MAXLINES
	int "Max number of input lines less will try to eat"
	default 9999999
	depends on BUSYBOX_LESS

config BUSYBOX_FEATURE_LESS_BRACKETS
	bool "Enable bracket searching"
	default y
	depends on BUSYBOX_LESS
	help
	  This option adds the capability to search for matching left and right
	  brackets, facilitating programming.

config BUSYBOX_FEATURE_LESS_FLAGS
	bool "Enable -m/-M"
	default y
	depends on BUSYBOX_LESS
	help
	  The -M/-m flag enables a more sophisticated status line.

config BUSYBOX_FEATURE_LESS_TRUNCATE
	bool "Enable -S"
	default y
	depends on BUSYBOX_LESS
	help
	  The -S flag causes long lines to be truncated rather than
	  wrapped.

config BUSYBOX_FEATURE_LESS_MARKS
	bool "Enable marks"
	default y
	depends on BUSYBOX_LESS
	help
	  Marks enable positions in a file to be stored for easy reference.

config BUSYBOX_FEATURE_LESS_REGEXP
	bool "Enable regular expressions"
	default y
	depends on BUSYBOX_LESS
	help
	  Enable regular expressions, allowing complex file searches.

config BUSYBOX_FEATURE_LESS_WINCH
	bool "Enable automatic resizing on window size changes"
	default y
	depends on BUSYBOX_LESS
	help
	  Makes less track window size changes.

config BUSYBOX_FEATURE_LESS_ASK_TERMINAL
	bool "Use 'tell me cursor position' ESC sequence to measure window"
	default y
	depends on BUSYBOX_FEATURE_LESS_WINCH
	help
	  Makes less track window size changes.
	  If terminal size can't be retrieved and $LINES/$COLUMNS are not set,
	  this option makes less perform a last-ditch effort to find it:
	  position cursor to 999,999 and ask terminal to report real
	  cursor position using "ESC [ 6 n" escape sequence, then read stdin.

	  This is not clean but helps a lot on serial lines and such.

config BUSYBOX_FEATURE_LESS_DASHCMD
	bool "Enable flag changes ('-' command)"
	default y
	depends on BUSYBOX_LESS
	help
	  This enables the ability to change command-line flags within
	  less itself ('-' keyboard command).

config BUSYBOX_FEATURE_LESS_LINENUMS
	bool "Enable dynamic switching of line numbers"
	default y
	depends on BUSYBOX_FEATURE_LESS_DASHCMD
	help
	  Enables "-N" command.

config BUSYBOX_FEATURE_LESS_RAW
	bool "Enable -R ('raw control characters')"
	default y
	depends on BUSYBOX_FEATURE_LESS_DASHCMD
	help
	This is essential for less applet to work with tools that use colors
	and paging, such as git, systemd tools or nmcli.

config BUSYBOX_FEATURE_LESS_ENV
	bool "Take options from $LESS environment variable"
	default y
	depends on BUSYBOX_FEATURE_LESS_DASHCMD
	help
	This is essential for less applet to work with tools that use colors
	and paging, such as git, systemd tools or nmcli.

config BUSYBOX_LSSCSI
	bool "lsscsi (2.5 kb)"
	default n
	#select PLATFORM_LINUX
	help
	lsscsi is a utility for displaying information about SCSI buses in the
	system and devices connected to them.

	This version uses sysfs (/sys/bus/scsi/devices) only.

config BUSYBOX_NANDWRITE
	bool "nandwrite"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Write to the specified MTD device, with bad blocks awareness

config BUSYBOX_NANDDUMP
	bool "nanddump"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Dump the content of raw NAND chip

config BUSYBOX_PARTPROBE
	bool "partprobe (3.5 kb)"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	Ask kernel to rescan partition table.

config BUSYBOX_SETFATTR
	bool "setfattr (3.7 kb)"
	default n
	help
	Set/delete extended attributes on files

config BUSYBOX_SETSERIAL
	bool "setserial"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Retrieve or set Linux serial port.

config BUSYBOX_UBIATTACH
	bool "ubiattach"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Attach MTD device to an UBI device.

config BUSYBOX_UBIDETACH
	bool "ubidetach"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Detach MTD device from an UBI device.

config BUSYBOX_UBIMKVOL
	bool "ubimkvol"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Create a UBI volume.

config BUSYBOX_UBIRMVOL
	bool "ubirmvol"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Delete a UBI volume.

config BUSYBOX_UBIRSVOL
	bool "ubirsvol"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Resize a UBI volume.

config BUSYBOX_UBIUPDATEVOL
	bool "ubiupdatevol"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Update a UBI volume.

config BUSYBOX_UBIRENAME
	bool "ubirename"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Utility to rename UBI volumes

config BUSYBOX_ADJTIMEX
	bool "adjtimex"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Adjtimex reads and optionally sets adjustment parameters for
	  the Linux clock adjustment algorithm.

config BUSYBOX_BBCONFIG
	bool "bbconfig"
	default n
	help
	  The bbconfig applet will print the config file with which
	  busybox was built.

config BUSYBOX_FEATURE_COMPRESS_BBCONFIG
	bool "Compress bbconfig data"
	default y
	depends on BUSYBOX_BBCONFIG
	help
	  Store bbconfig data in compressed form, uncompress them on-the-fly
	  before output.

	  If you have a really tiny busybox with few applets enabled (and
	  bunzip2 isn't one of them), the overhead of the decompressor might
	  be noticeable. Also, if you run executables directly from ROM
	  and have very little memory, this might not be a win. Otherwise,
	  you probably want this.

config BUSYBOX_BEEP
	bool "beep"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  The beep applets beeps in a given freq/Hz.

config BUSYBOX_FEATURE_BEEP_FREQ
	int "default frequency"
	range 0 2147483647
	default 4000
	depends on BUSYBOX_BEEP
	help
	  Frequency for default beep.

config BUSYBOX_FEATURE_BEEP_LENGTH_MS
	int "default length"
	range 0 2147483647
	default 30
	depends on BUSYBOX_BEEP
	help
	  Length in ms for default beep.

config BUSYBOX_CHAT
	bool "chat"
	default n
	help
	  Simple chat utility.

config BUSYBOX_FEATURE_CHAT_NOFAIL
	bool "Enable NOFAIL expect strings"
	depends on BUSYBOX_CHAT
	default y
	help
	  When enabled expect strings which are started with a dash trigger
	  no-fail mode. That is when expectation is not met within timeout
	  the script is not terminated but sends next SEND string and waits
	  for next EXPECT string. This allows to compose far more flexible
	  scripts.

config BUSYBOX_FEATURE_CHAT_TTY_HIFI
	bool "Force STDIN to be a TTY"
	depends on BUSYBOX_CHAT
	default n
	help
	  Original chat always treats STDIN as a TTY device and sets for it
	  so-called raw mode. This option turns on such behaviour.

config BUSYBOX_FEATURE_CHAT_IMPLICIT_CR
	bool "Enable implicit Carriage Return"
	depends on BUSYBOX_CHAT
	default y
	help
	  When enabled make chat to terminate all SEND strings with a "\r"
	  unless "\c" is met anywhere in the string.

config BUSYBOX_FEATURE_CHAT_SWALLOW_OPTS
	bool "Swallow options"
	depends on BUSYBOX_CHAT
	default y
	help
	  Busybox chat require no options. To make it not fail when used
	  in place of original chat (which has a bunch of options) turn
	  this on.

config BUSYBOX_FEATURE_CHAT_SEND_ESCAPES
	bool "Support weird SEND escapes"
	depends on BUSYBOX_CHAT
	default y
	help
	  Original chat uses some escape sequences in SEND arguments which
	  are not sent to device but rather performs special actions.
	  E.g. "\K" means to send a break sequence to device.
	  "\d" delays execution for a second, "\p" -- for a 1/100 of second.
	  Before turning this option on think twice: do you really need them?

config BUSYBOX_FEATURE_CHAT_VAR_ABORT_LEN
	bool "Support variable-length ABORT conditions"
	depends on BUSYBOX_CHAT
	default y
	help
	  Original chat uses fixed 50-bytes length ABORT conditions. Say N here.

config BUSYBOX_FEATURE_CHAT_CLR_ABORT
	bool "Support revoking of ABORT conditions"
	depends on BUSYBOX_CHAT
	default y
	help
	  Support CLR_ABORT directive.

config BUSYBOX_CHRT
	bool "chrt"
	default n
	help
	  manipulate real-time attributes of a process.
	  This requires sched_{g,s}etparam support in your libc.

config BUSYBOX_CROND
	bool "crond"
	default n
	select BUSYBOX_FEATURE_SYSLOG
	help
	  Crond is a background daemon that parses individual crontab
	  files and executes commands on behalf of the users in question.
	  This is a port of dcron from slackware. It uses files of the
	  format /var/spool/cron/crontabs/<username> files, for example:
	      $ cat /var/spool/cron/crontabs/root
	      # Run daily cron jobs at 4:40 every day:
	      40 4 * * * /etc/cron/daily > /dev/null 2>&1

config BUSYBOX_FEATURE_CROND_D
	bool "Support option -d to redirect output to stderr"
	depends on BUSYBOX_CROND
	default y
	help
	  -d sets loglevel to 0 (most verbose) and directs all output to stderr.

config BUSYBOX_FEATURE_CROND_CALL_SENDMAIL
	bool "Report command output via email (using sendmail)"
	default n
	depends on BUSYBOX_CROND
	help
	  Command output will be sent to corresponding user via email.

config BUSYBOX_FEATURE_CROND_DIR
	string "crond spool directory"
	default "/var/spool/cron"
	depends on BUSYBOX_CROND || BUSYBOX_CRONTAB
	help
	  Location of crond spool.

config BUSYBOX_CRONTAB
	bool "crontab"
	default n
	help
	  Crontab manipulates the crontab for a particular user. Only
	  the superuser may specify a different user and/or crontab directory.
	  Note that Busybox binary must be setuid root for this applet to
	  work properly.

config BUSYBOX_BC
	bool "bc (45 kb)"
	default n
	select BUSYBOX_FEATURE_DC_BIG
	help
	bc is a command-line, arbitrary-precision calculator with a
	Turing-complete language. See the GNU bc manual
	(https://www.gnu.org/software/bc/manual/bc.html) and bc spec
	(http://pubs.opengroup.org/onlinepubs/9699919799/utilities/bc.html).

	This bc has five differences to the GNU bc:
	  1) The period (.) is a shortcut for "last", as in the BSD bc.
	  2) Arrays are copied before being passed as arguments to
	     functions. This behavior is required by the bc spec.
	  3) Arrays can be passed to the builtin "length" function to get
	     the number of elements in the array. This prints "1":
		a[0] = 0; length(a[])
	  4) The precedence of the boolean "not" operator (!) is equal to
	     that of the unary minus (-) negation operator. This still
	     allows POSIX-compliant scripts to work while somewhat
	     preserving expected behavior (versus C) and making parsing
	     easier.
	  5) "read()" accepts expressions, not only numeric literals.


config BUSYBOX_DC
	bool "dc"
	default n
	help
	  Dc is a reverse-polish desk calculator which supports unlimited
	  precision arithmetic.

config BUSYBOX_FEATURE_DC_LIBM
	bool "Enable power and exp functions (requires libm)"
	default n
	depends on BUSYBOX_DC
	help
	  Enable power and exp functions.
	  NOTE: This will require libm to be present for linking.

config BUSYBOX_DEVFSD
	bool "devfsd (obsolete)"
	default n
	select BUSYBOX_PLATFORM_LINUX
	select BUSYBOX_FEATURE_SYSLOG
	help
	  This is deprecated and should NOT be used anymore.
	  Use linux >= 2.6 (optionally with hotplug) and mdev instead!
	  See docs/mdev.txt for detailed instructions on how to use mdev
	  instead.

	  Provides compatibility with old device names on a devfs systems.
	  You should set it to true if you have devfs enabled.
	  The following keywords in devsfd.conf are supported:
	  "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
	  "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
	  "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".

	  But only if they are written UPPERCASE!!!!!!!!

config BUSYBOX_DEVFSD_MODLOAD
	bool "Adds support for MODLOAD keyword in devsfd.conf"
	default n
	depends on BUSYBOX_DEVFSD
	help
	  This actually doesn't work with busybox modutils but needs
	  the external modutils.

config BUSYBOX_DEVFSD_FG_NP
	bool "Enables the -fg and -np options"
	default n
	depends on BUSYBOX_DEVFSD
	help
	  -fg  Run the daemon in the foreground.
	  -np  Exit after parsing the configuration file.
	       Do not poll for events.

config BUSYBOX_DEVFSD_VERBOSE
	bool "Increases logging (and size)"
	default n
	depends on BUSYBOX_DEVFSD
	help
	  Increases logging to stderr or syslog.

config BUSYBOX_FEATURE_DEVFS
	bool "Use devfs names for all devices (obsolete)"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  This is obsolete and should NOT be used anymore.
	  Use linux >= 2.6 (optionally with hotplug) and mdev instead!

	  For legacy systems -- if there is no way around devfsd -- this
	  tells busybox to look for names like /dev/loop/0 instead of
	  /dev/loop0. If your /dev directory has normal names instead of
	  devfs names, you don't want this.

config BUSYBOX_DEVMEM
	bool "devmem"
	default n
	help
	  devmem is a small program that reads and writes from physical
	  memory using /dev/mem.

config BUSYBOX_EJECT
	bool "eject"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Used to eject cdroms. (defaults to /dev/cdrom)

config BUSYBOX_FEATURE_EJECT_SCSI
	bool "SCSI support"
	default n
	depends on BUSYBOX_EJECT
	help
	  Add the -s option to eject, this allows to eject SCSI-Devices and
	  usb-storage devices.

config BUSYBOX_FBSPLASH
	bool "fbsplash"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Shows splash image and progress bar on framebuffer device.
	  Can be used during boot phase of an embedded device. ~2kb.
	  Usage:
	  - use kernel option 'vga=xxx' or otherwise enable fb device.
	  - put somewhere fbsplash.cfg file and an image in .ppm format.
	  - $ setsid fbsplash [params] &
	    -c: hide cursor
	    -d /dev/fbN: framebuffer device (if not /dev/fb0)
	    -s path_to_image_file (can be "-" for stdin)
	    -i path_to_cfg_file (can be "-" for stdin)
	    -f path_to_fifo (can be "-" for stdin)
	  - if you want to run it only in presence of kernel parameter:
	    grep -q "fbsplash=on" </proc/cmdline && BUSYBOX_setsid fbsplash [params] &
	  - commands for fifo:
	    "NN" (ASCII decimal number) - percentage to show on progress bar
	    "exit" - well you guessed it

config BUSYBOX_FLASHCP
	bool "flashcp"
	default n  # doesn't build on Ubuntu 8.04
	help
	  The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
	  This utility is used to copy images into a MTD device.

config BUSYBOX_FLASH_LOCK
	bool "flash_lock"
	default n  # doesn't build on Ubuntu 8.04
	help
	  The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This
	  utility locks part or all of the flash device.

config BUSYBOX_FLASH_UNLOCK
	bool "flash_unlock"
	default n  # doesn't build on Ubuntu 8.04
	help
	  The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
	  utility unlocks part or all of the flash device.

config BUSYBOX_FLASH_ERASEALL
	bool "flash_eraseall"
	default n  # doesn't build on Ubuntu 8.04
	help
	  The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
	  This utility is used to erase the whole MTD device.

config BUSYBOX_IONICE
	bool "ionice"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Set/set program io scheduling class and priority
	  Requires kernel >= 2.6.13

config BUSYBOX_INOTIFYD
	bool "inotifyd"
	default n  # doesn't build on Knoppix 5
	help
	  Simple inotify daemon. Reports filesystem changes. Requires
	  kernel >= 2.6.13

config BUSYBOX_LAST
	bool "last"
	default n
	depends on BUSYBOX_FEATURE_WTMP
	help
	  'last' displays a list of the last users that logged into the system.

choice
	prompt "Choose last implementation"
	depends on BUSYBOX_LAST
	default FEATURE_LAST_FANCY

config BUSYBOX_FEATURE_LAST_SMALL
	bool "small"
	help
	  This is a small version of last with just the basic set of
	  features.

config BUSYBOX_FEATURE_LAST_FANCY
	bool "huge"
	help
	  'last' displays detailed information about the last users that
	  logged into the system (mimics sysvinit last). +900 bytes.
endchoice

config BUSYBOX_HDPARM
	bool "hdparm"
	default n
	depends on !BUSYBOX_DISABLE_HDPARM
	select BUSYBOX_PLATFORM_LINUX
	help
	  Get/Set hard drive parameters. Primarily intended for ATA
	  drives. Adds about 13k (or around 30k if you enable the
	  FEATURE_HDPARM_GET_IDENTITY option)....

config BUSYBOX_FEATURE_HDPARM_GET_IDENTITY
	bool "Support obtaining detailed information directly from drives"
	default y
	depends on BUSYBOX_HDPARM
	help
	  Enables the -I and -i options to obtain detailed information
	  directly from drives about their capabilities and supported ATA
	  feature set. If no device name is specified, hdparm will read
	  identify data from stdin. Enabling this option will add about 16k...

config BUSYBOX_FEATURE_HDPARM_HDIO_SCAN_HWIF
	bool "Register an IDE interface (DANGEROUS)"
	default y
	depends on BUSYBOX_HDPARM
	help
	  Enables the 'hdparm -R' option to register an IDE interface.
	  This is dangerous stuff, so you should probably say N.

config BUSYBOX_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
	bool "Un-register an IDE interface (DANGEROUS)"
	default y
	depends on BUSYBOX_HDPARM
	help
	  Enables the 'hdparm -U' option to un-register an IDE interface.
	  This is dangerous stuff, so you should probably say N.

config BUSYBOX_FEATURE_HDPARM_HDIO_DRIVE_RESET
	bool "Perform device reset (DANGEROUS)"
	default y
	depends on BUSYBOX_HDPARM
	help
	  Enables the 'hdparm -w' option to perform a device reset.
	  This is dangerous stuff, so you should probably say N.

config BUSYBOX_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
	bool "Tristate device for hotswap (DANGEROUS)"
	default y
	depends on BUSYBOX_HDPARM
	help
	  Enables the 'hdparm -x' option to tristate device for hotswap,
	  and the '-b' option to get/set bus state. This is dangerous
	  stuff, so you should probably say N.

config BUSYBOX_FEATURE_HDPARM_HDIO_GETSET_DMA
	bool "Get/set using_dma flag"
	default y
	depends on BUSYBOX_HDPARM
	help
	  Enables the 'hdparm -d' option to get/set using_dma flag.

config BUSYBOX_HEXEDIT
	bool "hexedit (21 kb)"
	default n
	help
	Edit file in hexadecimal.

config BUSYBOX_MAKEDEVS
	bool "makedevs"
	default n
	help
	  'makedevs' is a utility used to create a batch of devices with
	  one command.

	  There are two choices for command line behaviour, the interface
	  as used by LEAF/Linux Router Project, or a device table file.

	  'leaf' is traditionally what busybox follows, it allows multiple
	  devices of a particluar type to be created per command.
	  e.g. /dev/hda[0-9]
	  Device properties are passed as command line arguments.

	  'table' reads device properties from a file or stdin, allowing
	  a batch of unrelated devices to be made with one command.
	  User/group names are allowed as an alternative to uid/gid.

choice
	prompt "Choose makedevs behaviour"
	depends on BUSYBOX_MAKEDEVS
	default FEATURE_MAKEDEVS_TABLE

config BUSYBOX_FEATURE_MAKEDEVS_LEAF
	bool "leaf"

config BUSYBOX_FEATURE_MAKEDEVS_TABLE
	bool "table"

endchoice

config BUSYBOX_MAN
	bool "man"
	default n
	help
	  Format and display manual pages.

config BUSYBOX_MICROCOM
	bool "microcom"
	default n
	help
	  The poor man's minicom utility for chatting with serial port devices.

config BUSYBOX_MOUNTPOINT
	bool "mountpoint"
	default n
	help
	  mountpoint checks if the directory is a mountpoint.

config BUSYBOX_MT
	bool "mt"
	default n
	help
	  mt is used to control tape devices. You can use the mt utility
	  to advance or rewind a tape past a specified number of archive
	  files on the tape.

config BUSYBOX_RAIDAUTORUN
	bool "raidautorun"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  raidautorun tells the kernel md driver to
	  search and start RAID arrays.

config BUSYBOX_READAHEAD
	bool "readahead"
	default n
	depends on BUSYBOX_LFS
	select BUSYBOX_PLATFORM_LINUX
	help
	  Preload the files listed on the command line into RAM cache so that
	  subsequent reads on these files will not block on disk I/O.

	  This applet just calls the readahead(2) system call on each file.
	  It is mainly useful in system startup scripts to preload files
	  or executables before they are used. When used at the right time
	  (in particular when a CPU bound process is running) it can
	  significantly speed up system startup.

	  As readahead(2) blocks until each file has been read, it is best to
	  run this applet as a background job.

config BUSYBOX_RFKILL
	bool "rfkill"
	depends on !BUSYBOX_DISABLE_RFKILL
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Enable/disable wireless devices.

	  rfkill list : list all wireless devices
	  rfkill list bluetooth : list all bluetooth devices
	  rfkill list 1 : list device corresponding to the given index
	  rfkill block|unblock wlan : block/unblock all wlan(wifi) devices

config BUSYBOX_RUNLEVEL
	bool "runlevel"
	default n
	depends on BUSYBOX_FEATURE_UTMP
	help
	  find the current and previous system runlevel.

	  This applet uses utmp but does not rely on busybox supporing
	  utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.

config BUSYBOX_RX
	bool "rx"
	default n
	select BUSYBOX_PLATFORM_LINUX
	help
	  Receive files using the Xmodem protocol.

config BUSYBOX_SETSID
	bool "setsid"
	default n
	help
	  setsid runs a program in a new session

config BUSYBOX_STRINGS
	bool "strings"
	default n
	help
	  strings prints the printable character sequences for each file
	  specified.

config BUSYBOX_TASKSET
	bool "taskset"
	default n  # doesn't build on some non-x86 targets (m68k)
	help
	  Retrieve or set a processes's CPU affinity.
	  This requires sched_{g,s}etaffinity support in your libc.

config BUSYBOX_FEATURE_TASKSET_FANCY
	bool "Fancy output"
	default y
	depends on BUSYBOX_TASKSET
	help
	  Add code for fancy output. This merely silences a compiler-warning
	  and adds about 135 Bytes. May be needed for machines with alot
	  of CPUs.

config BUSYBOX_TIME
	bool "time"
	default n
	help
	  The time command runs the specified program with the given arguments.
	  When the command finishes, time writes a message to standard output
	  giving timing statistics about this program run.

config BUSYBOX_TS
	bool "ts (450 bytes)"
	default n

config BUSYBOX_TIMEOUT
	bool "timeout"
	default n
	help
	  Runs a program and watches it. If it does not terminate in
	  specified number of seconds, it is sent a signal.

config BUSYBOX_TTYSIZE
	bool "ttysize"
	default n
	help
	  A replacement for "stty size". Unlike stty, can report only width,
	  only height, or both, in any order. It also does not complain on
	  error, but returns default 80x24.
	  Usage in shell scripts: width=`ttysize w`.

config BUSYBOX_VOLNAME
	bool "volname"
	default n
	help
	  Prints a CD-ROM volume name.

config BUSYBOX_WALL
	bool "wall"
	default n
	depends on BUSYBOX_FEATURE_UTMP
	help
	  Write a message to all users that are logged in.

config BUSYBOX_WATCHDOG
	bool "watchdog"
	default y if ADK_TARGET_WITH_WATCHDOG
	default n
	depends on !BUSYBOX_DISABLE_WATCHDOG
	select BUSYBOX_PLATFORM_LINUX
	help
	  The watchdog utility is used with hardware or software watchdog
	  device drivers. It opens the specified watchdog device special file
	  and periodically writes a magic character to the device. If the
	  watchdog applet ever fails to write the magic character within a
	  certain amount of time, the watchdog device assumes the system has
	  hung, and will cause the hardware to reboot.

endmenu