aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/adjtimex.c4
-rw-r--r--miscutils/bbconfig.c18
-rw-r--r--miscutils/beep.c6
-rw-r--r--miscutils/chat.c40
-rw-r--r--miscutils/conspy.c8
-rw-r--r--miscutils/crond.c40
-rw-r--r--miscutils/crontab.c8
-rw-r--r--miscutils/dc.c8
-rw-r--r--miscutils/devfsd.c45
-rw-r--r--miscutils/devmem.c4
-rw-r--r--miscutils/fbsplash.c16
-rw-r--r--miscutils/flash_eraseall.c4
-rw-r--r--miscutils/flash_lock_unlock.c8
-rw-r--r--miscutils/flashcp.c4
-rw-r--r--miscutils/hdparm.c32
-rw-r--r--miscutils/i2c_tools.c8
-rw-r--r--miscutils/inotifyd.c4
-rw-r--r--miscutils/less.c36
-rw-r--r--miscutils/lsscsi.c6
-rw-r--r--miscutils/makedevs.c22
-rw-r--r--miscutils/man.c2
-rw-r--r--miscutils/microcom.c2
-rw-r--r--miscutils/mt.c6
-rw-r--r--miscutils/nandwrite.c4
-rw-r--r--miscutils/partprobe.c2
-rw-r--r--miscutils/raidautorun.c4
-rw-r--r--miscutils/readahead.c18
-rw-r--r--miscutils/rfkill.c10
-rw-r--r--miscutils/runlevel.c6
-rw-r--r--miscutils/rx.c2
-rw-r--r--miscutils/setserial.c2
-rw-r--r--miscutils/strings.c4
-rw-r--r--miscutils/time.c6
-rw-r--r--miscutils/ttysize.c8
-rw-r--r--miscutils/ubi_tools.c12
-rw-r--r--miscutils/ubirename.c2
-rw-r--r--miscutils/volname.c2
-rw-r--r--miscutils/watchdog.c12
38 files changed, 212 insertions, 213 deletions
diff --git a/miscutils/adjtimex.c b/miscutils/adjtimex.c
index c91527ffb..04ba5636f 100644
--- a/miscutils/adjtimex.c
+++ b/miscutils/adjtimex.c
@@ -15,8 +15,8 @@
15//config: default y 15//config: default y
16//config: select PLATFORM_LINUX 16//config: select PLATFORM_LINUX
17//config: help 17//config: help
18//config: Adjtimex reads and optionally sets adjustment parameters for 18//config: Adjtimex reads and optionally sets adjustment parameters for
19//config: the Linux clock adjustment algorithm. 19//config: the Linux clock adjustment algorithm.
20 20
21//applet:IF_ADJTIMEX(APPLET(adjtimex, BB_DIR_SBIN, BB_SUID_DROP)) 21//applet:IF_ADJTIMEX(APPLET(adjtimex, BB_DIR_SBIN, BB_SUID_DROP))
22 22
diff --git a/miscutils/bbconfig.c b/miscutils/bbconfig.c
index faaacad18..045aca211 100644
--- a/miscutils/bbconfig.c
+++ b/miscutils/bbconfig.c
@@ -5,22 +5,22 @@
5//config: bool "bbconfig (9.7 kb)" 5//config: bool "bbconfig (9.7 kb)"
6//config: default n 6//config: default n
7//config: help 7//config: help
8//config: The bbconfig applet will print the config file with which 8//config: The bbconfig applet will print the config file with which
9//config: busybox was built. 9//config: busybox was built.
10//config: 10//config:
11//config:config FEATURE_COMPRESS_BBCONFIG 11//config:config FEATURE_COMPRESS_BBCONFIG
12//config: bool "Compress bbconfig data" 12//config: bool "Compress bbconfig data"
13//config: default y 13//config: default y
14//config: depends on BBCONFIG 14//config: depends on BBCONFIG
15//config: help 15//config: help
16//config: Store bbconfig data in compressed form, uncompress them on-the-fly 16//config: Store bbconfig data in compressed form, uncompress them on-the-fly
17//config: before output. 17//config: before output.
18//config: 18//config:
19//config: If you have a really tiny busybox with few applets enabled (and 19//config: If you have a really tiny busybox with few applets enabled (and
20//config: bunzip2 isn't one of them), the overhead of the decompressor might 20//config: bunzip2 isn't one of them), the overhead of the decompressor might
21//config: be noticeable. Also, if you run executables directly from ROM 21//config: be noticeable. Also, if you run executables directly from ROM
22//config: and have very little memory, this might not be a win. Otherwise, 22//config: and have very little memory, this might not be a win. Otherwise,
23//config: you probably want this. 23//config: you probably want this.
24 24
25//applet:IF_BBCONFIG(APPLET(bbconfig, BB_DIR_BIN, BB_SUID_DROP)) 25//applet:IF_BBCONFIG(APPLET(bbconfig, BB_DIR_BIN, BB_SUID_DROP))
26 26
diff --git a/miscutils/beep.c b/miscutils/beep.c
index 782656fc5..b9b62f79b 100644
--- a/miscutils/beep.c
+++ b/miscutils/beep.c
@@ -12,7 +12,7 @@
12//config: default y 12//config: default y
13//config: select PLATFORM_LINUX 13//config: select PLATFORM_LINUX
14//config: help 14//config: help
15//config: The beep applets beeps in a given freq/Hz. 15//config: The beep applets beeps in a given freq/Hz.
16//config: 16//config:
17//config:config FEATURE_BEEP_FREQ 17//config:config FEATURE_BEEP_FREQ
18//config: int "default frequency" 18//config: int "default frequency"
@@ -20,7 +20,7 @@
20//config: default 4000 20//config: default 4000
21//config: depends on BEEP 21//config: depends on BEEP
22//config: help 22//config: help
23//config: Frequency for default beep. 23//config: Frequency for default beep.
24//config: 24//config:
25//config:config FEATURE_BEEP_LENGTH_MS 25//config:config FEATURE_BEEP_LENGTH_MS
26//config: int "default length" 26//config: int "default length"
@@ -28,7 +28,7 @@
28//config: default 30 28//config: default 30
29//config: depends on BEEP 29//config: depends on BEEP
30//config: help 30//config: help
31//config: Length in ms for default beep. 31//config: Length in ms for default beep.
32 32
33//applet:IF_BEEP(APPLET(beep, BB_DIR_USR_BIN, BB_SUID_DROP)) 33//applet:IF_BEEP(APPLET(beep, BB_DIR_USR_BIN, BB_SUID_DROP))
34 34
diff --git a/miscutils/chat.c b/miscutils/chat.c
index a1dc753bb..216a899a0 100644
--- a/miscutils/chat.c
+++ b/miscutils/chat.c
@@ -11,68 +11,68 @@
11//config: bool "chat (6.6 kb)" 11//config: bool "chat (6.6 kb)"
12//config: default y 12//config: default y
13//config: help 13//config: help
14//config: Simple chat utility. 14//config: Simple chat utility.
15//config: 15//config:
16//config:config FEATURE_CHAT_NOFAIL 16//config:config FEATURE_CHAT_NOFAIL
17//config: bool "Enable NOFAIL expect strings" 17//config: bool "Enable NOFAIL expect strings"
18//config: depends on CHAT 18//config: depends on CHAT
19//config: default y 19//config: default y
20//config: help 20//config: help
21//config: When enabled expect strings which are started with a dash trigger 21//config: When enabled expect strings which are started with a dash trigger
22//config: no-fail mode. That is when expectation is not met within timeout 22//config: no-fail mode. That is when expectation is not met within timeout
23//config: the script is not terminated but sends next SEND string and waits 23//config: the script is not terminated but sends next SEND string and waits
24//config: for next EXPECT string. This allows to compose far more flexible 24//config: for next EXPECT string. This allows to compose far more flexible
25//config: scripts. 25//config: scripts.
26//config: 26//config:
27//config:config FEATURE_CHAT_TTY_HIFI 27//config:config FEATURE_CHAT_TTY_HIFI
28//config: bool "Force STDIN to be a TTY" 28//config: bool "Force STDIN to be a TTY"
29//config: depends on CHAT 29//config: depends on CHAT
30//config: default n 30//config: default n
31//config: help 31//config: help
32//config: Original chat always treats STDIN as a TTY device and sets for it 32//config: Original chat always treats STDIN as a TTY device and sets for it
33//config: so-called raw mode. This option turns on such behaviour. 33//config: so-called raw mode. This option turns on such behaviour.
34//config: 34//config:
35//config:config FEATURE_CHAT_IMPLICIT_CR 35//config:config FEATURE_CHAT_IMPLICIT_CR
36//config: bool "Enable implicit Carriage Return" 36//config: bool "Enable implicit Carriage Return"
37//config: depends on CHAT 37//config: depends on CHAT
38//config: default y 38//config: default y
39//config: help 39//config: help
40//config: When enabled make chat to terminate all SEND strings with a "\r" 40//config: When enabled make chat to terminate all SEND strings with a "\r"
41//config: unless "\c" is met anywhere in the string. 41//config: unless "\c" is met anywhere in the string.
42//config: 42//config:
43//config:config FEATURE_CHAT_SWALLOW_OPTS 43//config:config FEATURE_CHAT_SWALLOW_OPTS
44//config: bool "Swallow options" 44//config: bool "Swallow options"
45//config: depends on CHAT 45//config: depends on CHAT
46//config: default y 46//config: default y
47//config: help 47//config: help
48//config: Busybox chat require no options. To make it not fail when used 48//config: Busybox chat require no options. To make it not fail when used
49//config: in place of original chat (which has a bunch of options) turn 49//config: in place of original chat (which has a bunch of options) turn
50//config: this on. 50//config: this on.
51//config: 51//config:
52//config:config FEATURE_CHAT_SEND_ESCAPES 52//config:config FEATURE_CHAT_SEND_ESCAPES
53//config: bool "Support weird SEND escapes" 53//config: bool "Support weird SEND escapes"
54//config: depends on CHAT 54//config: depends on CHAT
55//config: default y 55//config: default y
56//config: help 56//config: help
57//config: Original chat uses some escape sequences in SEND arguments which 57//config: Original chat uses some escape sequences in SEND arguments which
58//config: are not sent to device but rather performs special actions. 58//config: are not sent to device but rather performs special actions.
59//config: E.g. "\K" means to send a break sequence to device. 59//config: E.g. "\K" means to send a break sequence to device.
60//config: "\d" delays execution for a second, "\p" -- for a 1/100 of second. 60//config: "\d" delays execution for a second, "\p" -- for a 1/100 of second.
61//config: Before turning this option on think twice: do you really need them? 61//config: Before turning this option on think twice: do you really need them?
62//config: 62//config:
63//config:config FEATURE_CHAT_VAR_ABORT_LEN 63//config:config FEATURE_CHAT_VAR_ABORT_LEN
64//config: bool "Support variable-length ABORT conditions" 64//config: bool "Support variable-length ABORT conditions"
65//config: depends on CHAT 65//config: depends on CHAT
66//config: default y 66//config: default y
67//config: help 67//config: help
68//config: Original chat uses fixed 50-bytes length ABORT conditions. Say N here. 68//config: Original chat uses fixed 50-bytes length ABORT conditions. Say N here.
69//config: 69//config:
70//config:config FEATURE_CHAT_CLR_ABORT 70//config:config FEATURE_CHAT_CLR_ABORT
71//config: bool "Support revoking of ABORT conditions" 71//config: bool "Support revoking of ABORT conditions"
72//config: depends on CHAT 72//config: depends on CHAT
73//config: default y 73//config: default y
74//config: help 74//config: help
75//config: Support CLR_ABORT directive. 75//config: Support CLR_ABORT directive.
76 76
77//applet:IF_CHAT(APPLET(chat, BB_DIR_USR_SBIN, BB_SUID_DROP)) 77//applet:IF_CHAT(APPLET(chat, BB_DIR_USR_SBIN, BB_SUID_DROP))
78 78
diff --git a/miscutils/conspy.c b/miscutils/conspy.c
index 22a6918e1..47b9e7207 100644
--- a/miscutils/conspy.c
+++ b/miscutils/conspy.c
@@ -14,10 +14,10 @@
14//config: default y 14//config: default y
15//config: select PLATFORM_LINUX 15//config: select PLATFORM_LINUX
16//config: help 16//config: help
17//config: A text-mode VNC like program for Linux virtual terminals. 17//config: A text-mode VNC like program for Linux virtual terminals.
18//config: example: conspy NUM shared access to console num 18//config: example: conspy NUM shared access to console num
19//config: or conspy -nd NUM screenshot of console num 19//config: or conspy -nd NUM screenshot of console num
20//config: or conspy -cs NUM poor man's GNU screen like 20//config: or conspy -cs NUM poor man's GNU screen like
21 21
22//applet:IF_CONSPY(APPLET(conspy, BB_DIR_BIN, BB_SUID_DROP)) 22//applet:IF_CONSPY(APPLET(conspy, BB_DIR_BIN, BB_SUID_DROP))
23 23
diff --git a/miscutils/crond.c b/miscutils/crond.c
index 8d24f294c..6c54e1a8f 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -13,50 +13,50 @@
13//config: default y 13//config: default y
14//config: select FEATURE_SYSLOG 14//config: select FEATURE_SYSLOG
15//config: help 15//config: help
16//config: Crond is a background daemon that parses individual crontab 16//config: Crond is a background daemon that parses individual crontab
17//config: files and executes commands on behalf of the users in question. 17//config: files and executes commands on behalf of the users in question.
18//config: This is a port of dcron from slackware. It uses files of the 18//config: This is a port of dcron from slackware. It uses files of the
19//config: format /var/spool/cron/crontabs/<username> files, for example: 19//config: format /var/spool/cron/crontabs/<username> files, for example:
20//config: $ cat /var/spool/cron/crontabs/root 20//config: $ cat /var/spool/cron/crontabs/root
21//config: # Run daily cron jobs at 4:40 every day: 21//config: # Run daily cron jobs at 4:40 every day:
22//config: 40 4 * * * /etc/cron/daily > /dev/null 2>&1 22//config: 40 4 * * * /etc/cron/daily > /dev/null 2>&1
23//config: 23//config:
24//config:config FEATURE_CROND_D 24//config:config FEATURE_CROND_D
25//config: bool "Support option -d to redirect output to stderr" 25//config: bool "Support option -d to redirect output to stderr"
26//config: depends on CROND 26//config: depends on CROND
27//config: default y 27//config: default y
28//config: help 28//config: help
29//config: -d N sets loglevel (0:most verbose) and directs all output to stderr. 29//config: -d N sets loglevel (0:most verbose) and directs all output to stderr.
30//config: 30//config:
31//config:config FEATURE_CROND_CALL_SENDMAIL 31//config:config FEATURE_CROND_CALL_SENDMAIL
32//config: bool "Report command output via email (using sendmail)" 32//config: bool "Report command output via email (using sendmail)"
33//config: default y 33//config: default y
34//config: depends on CROND 34//config: depends on CROND
35//config: help 35//config: help
36//config: Command output will be sent to corresponding user via email. 36//config: Command output will be sent to corresponding user via email.
37//config: 37//config:
38//config:config FEATURE_CROND_SPECIAL_TIMES 38//config:config FEATURE_CROND_SPECIAL_TIMES
39//config: bool "Support special times (@reboot, @daily, etc) in crontabs" 39//config: bool "Support special times (@reboot, @daily, etc) in crontabs"
40//config: default y 40//config: default y
41//config: depends on CROND 41//config: depends on CROND
42//config: help 42//config: help
43//config: string meaning 43//config: string meaning
44//config: ------ ------- 44//config: ------ -------
45//config: @reboot Run once, at startup 45//config: @reboot Run once, at startup
46//config: @yearly Run once a year: "0 0 1 1 *" 46//config: @yearly Run once a year: "0 0 1 1 *"
47//config: @annually Same as @yearly: "0 0 1 1 *" 47//config: @annually Same as @yearly: "0 0 1 1 *"
48//config: @monthly Run once a month: "0 0 1 * *" 48//config: @monthly Run once a month: "0 0 1 * *"
49//config: @weekly Run once a week: "0 0 * * 0" 49//config: @weekly Run once a week: "0 0 * * 0"
50//config: @daily Run once a day: "0 0 * * *" 50//config: @daily Run once a day: "0 0 * * *"
51//config: @midnight Same as @daily: "0 0 * * *" 51//config: @midnight Same as @daily: "0 0 * * *"
52//config: @hourly Run once an hour: "0 * * * *" 52//config: @hourly Run once an hour: "0 * * * *"
53//config: 53//config:
54//config:config FEATURE_CROND_DIR 54//config:config FEATURE_CROND_DIR
55//config: string "crond spool directory" 55//config: string "crond spool directory"
56//config: default "/var/spool/cron" 56//config: default "/var/spool/cron"
57//config: depends on CROND || CRONTAB 57//config: depends on CROND || CRONTAB
58//config: help 58//config: help
59//config: Location of crond spool. 59//config: Location of crond spool.
60 60
61//applet:IF_CROND(APPLET(crond, BB_DIR_USR_SBIN, BB_SUID_DROP)) 61//applet:IF_CROND(APPLET(crond, BB_DIR_USR_SBIN, BB_SUID_DROP))
62 62
diff --git a/miscutils/crontab.c b/miscutils/crontab.c
index 409307567..23cb54887 100644
--- a/miscutils/crontab.c
+++ b/miscutils/crontab.c
@@ -13,10 +13,10 @@
13//config: bool "crontab (9.7 kb)" 13//config: bool "crontab (9.7 kb)"
14//config: default y 14//config: default y
15//config: help 15//config: help
16//config: Crontab manipulates the crontab for a particular user. Only 16//config: Crontab manipulates the crontab for a particular user. Only
17//config: the superuser may specify a different user and/or crontab directory. 17//config: the superuser may specify a different user and/or crontab directory.
18//config: Note that Busybox binary must be setuid root for this applet to 18//config: Note that Busybox binary must be setuid root for this applet to
19//config: work properly. 19//config: work properly.
20 20
21/* Needs to be run by root or be suid root - needs to change /var/spool/cron* files: */ 21/* Needs to be run by root or be suid root - needs to change /var/spool/cron* files: */
22//applet:IF_CRONTAB(APPLET(crontab, BB_DIR_USR_BIN, BB_SUID_REQUIRE)) 22//applet:IF_CRONTAB(APPLET(crontab, BB_DIR_USR_BIN, BB_SUID_REQUIRE))
diff --git a/miscutils/dc.c b/miscutils/dc.c
index d4cd49998..b922a7184 100644
--- a/miscutils/dc.c
+++ b/miscutils/dc.c
@@ -6,16 +6,16 @@
6//config: bool "dc (4.2 kb)" 6//config: bool "dc (4.2 kb)"
7//config: default y 7//config: default y
8//config: help 8//config: help
9//config: Dc is a reverse-polish desk calculator which supports unlimited 9//config: Dc is a reverse-polish desk calculator which supports unlimited
10//config: precision arithmetic. 10//config: precision arithmetic.
11//config: 11//config:
12//config:config FEATURE_DC_LIBM 12//config:config FEATURE_DC_LIBM
13//config: bool "Enable power and exp functions (requires libm)" 13//config: bool "Enable power and exp functions (requires libm)"
14//config: default y 14//config: default y
15//config: depends on DC 15//config: depends on DC
16//config: help 16//config: help
17//config: Enable power and exp functions. 17//config: Enable power and exp functions.
18//config: NOTE: This will require libm to be present for linking. 18//config: NOTE: This will require libm to be present for linking.
19 19
20//applet:IF_DC(APPLET(dc, BB_DIR_USR_BIN, BB_SUID_DROP)) 20//applet:IF_DC(APPLET(dc, BB_DIR_USR_BIN, BB_SUID_DROP))
21 21
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index 334f1071b..814714f53 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -59,56 +59,55 @@
59//config: select PLATFORM_LINUX 59//config: select PLATFORM_LINUX
60//config: select FEATURE_SYSLOG 60//config: select FEATURE_SYSLOG
61//config: help 61//config: help
62//config: This is deprecated and should NOT be used anymore. 62//config: This is deprecated and should NOT be used anymore.
63//config: Use linux >= 2.6 (optionally with hotplug) and mdev instead! 63//config: Use linux >= 2.6 (optionally with hotplug) and mdev instead!
64//config: See docs/mdev.txt for detailed instructions on how to use mdev 64//config: See docs/mdev.txt for detailed instructions on how to use mdev
65//config: instead. 65//config: instead.
66//config: 66//config:
67//config: Provides compatibility with old device names on a devfs systems. 67//config: Provides compatibility with old device names on a devfs systems.
68//config: You should set it to true if you have devfs enabled. 68//config: You should set it to true if you have devfs enabled.
69//config: The following keywords in devsfd.conf are supported: 69//config: The following keywords in devsfd.conf are supported:
70//config: "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE", 70//config: "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
71//config: "PERMISSIONS", "EXECUTE", "COPY", "IGNORE", 71//config: "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
72//config: "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT". 72//config: "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
73//config: 73//config:
74//config: But only if they are written UPPERCASE!!!!!!!! 74//config: But only if they are written UPPERCASE!!!!!!!!
75//config: 75//config:
76//config:config DEVFSD_MODLOAD 76//config:config DEVFSD_MODLOAD
77//config: bool "Adds support for MODLOAD keyword in devsfd.conf" 77//config: bool "Adds support for MODLOAD keyword in devsfd.conf"
78//config: default y 78//config: default y
79//config: depends on DEVFSD 79//config: depends on DEVFSD
80//config: help 80//config: help
81//config: This actually doesn't work with busybox modutils but needs 81//config: This actually doesn't work with busybox modutils but needs
82//config: the external modutils. 82//config: the external modutils.
83//config: 83//config:
84//config:config DEVFSD_FG_NP 84//config:config DEVFSD_FG_NP
85//config: bool "Enable the -fg and -np options" 85//config: bool "Enable the -fg and -np options"
86//config: default y 86//config: default y
87//config: depends on DEVFSD 87//config: depends on DEVFSD
88//config: help 88//config: help
89//config: -fg Run the daemon in the foreground. 89//config: -fg Run the daemon in the foreground.
90//config: -np Exit after parsing the configuration file. 90//config: -np Exit after parsing config. Do not poll for events.
91//config: Do not poll for events.
92//config: 91//config:
93//config:config DEVFSD_VERBOSE 92//config:config DEVFSD_VERBOSE
94//config: bool "Increases logging (and size)" 93//config: bool "Increases logging (and size)"
95//config: default y 94//config: default y
96//config: depends on DEVFSD 95//config: depends on DEVFSD
97//config: help 96//config: help
98//config: Increases logging to stderr or syslog. 97//config: Increases logging to stderr or syslog.
99//config: 98//config:
100//config:config FEATURE_DEVFS 99//config:config FEATURE_DEVFS
101//config: bool "Use devfs names for all devices (obsolete)" 100//config: bool "Use devfs names for all devices (obsolete)"
102//config: default n 101//config: default n
103//config: select PLATFORM_LINUX 102//config: select PLATFORM_LINUX
104//config: help 103//config: help
105//config: This is obsolete and should NOT be used anymore. 104//config: This is obsolete and should NOT be used anymore.
106//config: Use linux >= 2.6 (optionally with hotplug) and mdev instead! 105//config: Use linux >= 2.6 (optionally with hotplug) and mdev instead!
107//config: 106//config:
108//config: For legacy systems -- if there is no way around devfsd -- this 107//config: For legacy systems -- if there is no way around devfsd -- this
109//config: tells busybox to look for names like /dev/loop/0 instead of 108//config: tells busybox to look for names like /dev/loop/0 instead of
110//config: /dev/loop0. If your /dev directory has normal names instead of 109//config: /dev/loop0. If your /dev directory has normal names instead of
111//config: devfs names, you don't want this. 110//config: devfs names, you don't want this.
112 111
113//applet:IF_DEVFSD(APPLET(devfsd, BB_DIR_SBIN, BB_SUID_DROP)) 112//applet:IF_DEVFSD(APPLET(devfsd, BB_DIR_SBIN, BB_SUID_DROP))
114 113
diff --git a/miscutils/devmem.c b/miscutils/devmem.c
index ec911a707..624054770 100644
--- a/miscutils/devmem.c
+++ b/miscutils/devmem.c
@@ -7,8 +7,8 @@
7//config: bool "devmem (2.5 kb)" 7//config: bool "devmem (2.5 kb)"
8//config: default y 8//config: default y
9//config: help 9//config: help
10//config: devmem is a small program that reads and writes from physical 10//config: devmem is a small program that reads and writes from physical
11//config: memory using /dev/mem. 11//config: memory using /dev/mem.
12 12
13//applet:IF_DEVMEM(APPLET(devmem, BB_DIR_SBIN, BB_SUID_DROP)) 13//applet:IF_DEVMEM(APPLET(devmem, BB_DIR_SBIN, BB_SUID_DROP))
14 14
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c
index 4c891deb0..9ac91e01e 100644
--- a/miscutils/fbsplash.c
+++ b/miscutils/fbsplash.c
@@ -25,20 +25,20 @@
25//config: default y 25//config: default y
26//config: select PLATFORM_LINUX 26//config: select PLATFORM_LINUX
27//config: help 27//config: help
28//config: Shows splash image and progress bar on framebuffer device. 28//config: Shows splash image and progress bar on framebuffer device.
29//config: Can be used during boot phase of an embedded device. ~2kb. 29//config: Can be used during boot phase of an embedded device.
30//config: Usage: 30//config: Usage:
31//config: - use kernel option 'vga=xxx' or otherwise enable fb device. 31//config: - use kernel option 'vga=xxx' or otherwise enable fb device.
32//config: - put somewhere fbsplash.cfg file and an image in .ppm format. 32//config: - put somewhere fbsplash.cfg file and an image in .ppm format.
33//config: - $ setsid fbsplash [params] & 33//config: - $ setsid fbsplash [params] &
34//config: -c: hide cursor 34//config: -c: hide cursor
35//config: -d /dev/fbN: framebuffer device (if not /dev/fb0) 35//config: -d /dev/fbN: framebuffer device (if not /dev/fb0)
36//config: -s path_to_image_file (can be "-" for stdin) 36//config: -s path_to_image_file (can be "-" for stdin)
37//config: -i path_to_cfg_file (can be "-" for stdin) 37//config: -i path_to_cfg_file (can be "-" for stdin)
38//config: -f path_to_fifo (can be "-" for stdin) 38//config: -f path_to_fifo (can be "-" for stdin)
39//config: - if you want to run it only in presence of kernel parameter: 39//config: - if you want to run it only in presence of kernel parameter:
40//config: grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] & 40//config: grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
41//config: - commands for fifo: 41//config: - commands for fifo:
42//config: "NN" (ASCII decimal number) - percentage to show on progress bar 42//config: "NN" (ASCII decimal number) - percentage to show on progress bar
43//config: "exit" - well you guessed it 43//config: "exit" - well you guessed it
44 44
diff --git a/miscutils/flash_eraseall.c b/miscutils/flash_eraseall.c
index b64fda396..af9ebea24 100644
--- a/miscutils/flash_eraseall.c
+++ b/miscutils/flash_eraseall.c
@@ -13,8 +13,8 @@
13//config: bool "flash_eraseall (5.5 kb)" 13//config: bool "flash_eraseall (5.5 kb)"
14//config: default n # doesn't build on Ubuntu 8.04 14//config: default n # doesn't build on Ubuntu 8.04
15//config: help 15//config: help
16//config: The flash_eraseall binary from mtd-utils as of git head c4c6a59eb. 16//config: The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
17//config: This utility is used to erase the whole MTD device. 17//config: This utility is used to erase the whole MTD device.
18 18
19//applet:IF_FLASH_ERASEALL(APPLET(flash_eraseall, BB_DIR_USR_SBIN, BB_SUID_DROP)) 19//applet:IF_FLASH_ERASEALL(APPLET(flash_eraseall, BB_DIR_USR_SBIN, BB_SUID_DROP))
20 20
diff --git a/miscutils/flash_lock_unlock.c b/miscutils/flash_lock_unlock.c
index 00de3da06..374eed5f6 100644
--- a/miscutils/flash_lock_unlock.c
+++ b/miscutils/flash_lock_unlock.c
@@ -7,15 +7,15 @@
7//config: bool "flash_lock (2.1 kb)" 7//config: bool "flash_lock (2.1 kb)"
8//config: default n # doesn't build on Ubuntu 8.04 8//config: default n # doesn't build on Ubuntu 8.04
9//config: help 9//config: help
10//config: The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This 10//config: The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This
11//config: utility locks part or all of the flash device. 11//config: utility locks part or all of the flash device.
12//config: 12//config:
13//config:config FLASH_UNLOCK 13//config:config FLASH_UNLOCK
14//config: bool "flash_unlock (1.3 kb)" 14//config: bool "flash_unlock (1.3 kb)"
15//config: default n # doesn't build on Ubuntu 8.04 15//config: default n # doesn't build on Ubuntu 8.04
16//config: help 16//config: help
17//config: The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This 17//config: The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
18//config: utility unlocks part or all of the flash device. 18//config: utility unlocks part or all of the flash device.
19 19
20// APPLET_ODDNAME:name main location suid_type help 20// APPLET_ODDNAME:name main location suid_type help
21//applet:IF_FLASH_LOCK( APPLET_ODDNAME(flash_lock, flash_lock_unlock, BB_DIR_USR_SBIN, BB_SUID_DROP, flash_lock)) 21//applet:IF_FLASH_LOCK( APPLET_ODDNAME(flash_lock, flash_lock_unlock, BB_DIR_USR_SBIN, BB_SUID_DROP, flash_lock))
diff --git a/miscutils/flashcp.c b/miscutils/flashcp.c
index f6f61cf16..d4ac62df4 100644
--- a/miscutils/flashcp.c
+++ b/miscutils/flashcp.c
@@ -10,8 +10,8 @@
10//config: bool "flashcp (5.4 kb)" 10//config: bool "flashcp (5.4 kb)"
11//config: default n # doesn't build on Ubuntu 8.04 11//config: default n # doesn't build on Ubuntu 8.04
12//config: help 12//config: help
13//config: The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7. 13//config: The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
14//config: This utility is used to copy images into a MTD device. 14//config: This utility is used to copy images into a MTD device.
15 15
16//applet:IF_FLASHCP(APPLET(flashcp, BB_DIR_USR_SBIN, BB_SUID_DROP)) 16//applet:IF_FLASHCP(APPLET(flashcp, BB_DIR_USR_SBIN, BB_SUID_DROP))
17 17
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index af7fb99e9..0bbe6ca10 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -16,58 +16,58 @@
16//config: default y 16//config: default y
17//config: select PLATFORM_LINUX 17//config: select PLATFORM_LINUX
18//config: help 18//config: help
19//config: Get/Set hard drive parameters. Primarily intended for ATA 19//config: Get/Set hard drive parameters. Primarily intended for ATA
20//config: drives. 20//config: drives.
21//config: 21//config:
22//config:config FEATURE_HDPARM_GET_IDENTITY 22//config:config FEATURE_HDPARM_GET_IDENTITY
23//config: bool "Support obtaining detailed information directly from drives" 23//config: bool "Support obtaining detailed information directly from drives"
24//config: default y 24//config: default y
25//config: depends on HDPARM 25//config: depends on HDPARM
26//config: help 26//config: help
27//config: Enable the -I and -i options to obtain detailed information 27//config: Enable the -I and -i options to obtain detailed information
28//config: directly from drives about their capabilities and supported ATA 28//config: directly from drives about their capabilities and supported ATA
29//config: feature set. If no device name is specified, hdparm will read 29//config: feature set. If no device name is specified, hdparm will read
30//config: identify data from stdin. Enabling this option will add about 16k... 30//config: identify data from stdin. Enabling this option will add about 16k...
31//config: 31//config:
32//config:config FEATURE_HDPARM_HDIO_SCAN_HWIF 32//config:config FEATURE_HDPARM_HDIO_SCAN_HWIF
33//config: bool "Register an IDE interface (DANGEROUS)" 33//config: bool "Register an IDE interface (DANGEROUS)"
34//config: default y 34//config: default y
35//config: depends on HDPARM 35//config: depends on HDPARM
36//config: help 36//config: help
37//config: Enable the 'hdparm -R' option to register an IDE interface. 37//config: Enable the 'hdparm -R' option to register an IDE interface.
38//config: This is dangerous stuff, so you should probably say N. 38//config: This is dangerous stuff, so you should probably say N.
39//config: 39//config:
40//config:config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF 40//config:config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
41//config: bool "Un-register an IDE interface (DANGEROUS)" 41//config: bool "Un-register an IDE interface (DANGEROUS)"
42//config: default y 42//config: default y
43//config: depends on HDPARM 43//config: depends on HDPARM
44//config: help 44//config: help
45//config: Enable the 'hdparm -U' option to un-register an IDE interface. 45//config: Enable the 'hdparm -U' option to un-register an IDE interface.
46//config: This is dangerous stuff, so you should probably say N. 46//config: This is dangerous stuff, so you should probably say N.
47//config: 47//config:
48//config:config FEATURE_HDPARM_HDIO_DRIVE_RESET 48//config:config FEATURE_HDPARM_HDIO_DRIVE_RESET
49//config: bool "Perform device reset (DANGEROUS)" 49//config: bool "Perform device reset (DANGEROUS)"
50//config: default y 50//config: default y
51//config: depends on HDPARM 51//config: depends on HDPARM
52//config: help 52//config: help
53//config: Enable the 'hdparm -w' option to perform a device reset. 53//config: Enable the 'hdparm -w' option to perform a device reset.
54//config: This is dangerous stuff, so you should probably say N. 54//config: This is dangerous stuff, so you should probably say N.
55//config: 55//config:
56//config:config FEATURE_HDPARM_HDIO_TRISTATE_HWIF 56//config:config FEATURE_HDPARM_HDIO_TRISTATE_HWIF
57//config: bool "Tristate device for hotswap (DANGEROUS)" 57//config: bool "Tristate device for hotswap (DANGEROUS)"
58//config: default y 58//config: default y
59//config: depends on HDPARM 59//config: depends on HDPARM
60//config: help 60//config: help
61//config: Enable the 'hdparm -x' option to tristate device for hotswap, 61//config: Enable the 'hdparm -x' option to tristate device for hotswap,
62//config: and the '-b' option to get/set bus state. This is dangerous 62//config: and the '-b' option to get/set bus state. This is dangerous
63//config: stuff, so you should probably say N. 63//config: stuff, so you should probably say N.
64//config: 64//config:
65//config:config FEATURE_HDPARM_HDIO_GETSET_DMA 65//config:config FEATURE_HDPARM_HDIO_GETSET_DMA
66//config: bool "Get/set using_dma flag" 66//config: bool "Get/set using_dma flag"
67//config: default y 67//config: default y
68//config: depends on HDPARM 68//config: depends on HDPARM
69//config: help 69//config: help
70//config: Enable the 'hdparm -d' option to get/set using_dma flag. 70//config: Enable the 'hdparm -d' option to get/set using_dma flag.
71 71
72//applet:IF_HDPARM(APPLET(hdparm, BB_DIR_SBIN, BB_SUID_DROP)) 72//applet:IF_HDPARM(APPLET(hdparm, BB_DIR_SBIN, BB_SUID_DROP))
73 73
diff --git a/miscutils/i2c_tools.c b/miscutils/i2c_tools.c
index 578613978..ca2580e92 100644
--- a/miscutils/i2c_tools.c
+++ b/miscutils/i2c_tools.c
@@ -14,28 +14,28 @@
14//config: default y 14//config: default y
15//config: select PLATFORM_LINUX 15//config: select PLATFORM_LINUX
16//config: help 16//config: help
17//config: Read from I2C/SMBus chip registers. 17//config: Read from I2C/SMBus chip registers.
18//config: 18//config:
19//config:config I2CSET 19//config:config I2CSET
20//config: bool "i2cset (6.9 kb)" 20//config: bool "i2cset (6.9 kb)"
21//config: default y 21//config: default y
22//config: select PLATFORM_LINUX 22//config: select PLATFORM_LINUX
23//config: help 23//config: help
24//config: Set I2C registers. 24//config: Set I2C registers.
25//config: 25//config:
26//config:config I2CDUMP 26//config:config I2CDUMP
27//config: bool "i2cdump (7.2 kb)" 27//config: bool "i2cdump (7.2 kb)"
28//config: default y 28//config: default y
29//config: select PLATFORM_LINUX 29//config: select PLATFORM_LINUX
30//config: help 30//config: help
31//config: Examine I2C registers. 31//config: Examine I2C registers.
32//config: 32//config:
33//config:config I2CDETECT 33//config:config I2CDETECT
34//config: bool "i2cdetect (7.2 kb)" 34//config: bool "i2cdetect (7.2 kb)"
35//config: default y 35//config: default y
36//config: select PLATFORM_LINUX 36//config: select PLATFORM_LINUX
37//config: help 37//config: help
38//config: Detect I2C chips. 38//config: Detect I2C chips.
39//config: 39//config:
40 40
41//applet:IF_I2CGET(APPLET(i2cget, BB_DIR_USR_SBIN, BB_SUID_DROP)) 41//applet:IF_I2CGET(APPLET(i2cget, BB_DIR_USR_SBIN, BB_SUID_DROP))
diff --git a/miscutils/inotifyd.c b/miscutils/inotifyd.c
index 2e0163e35..0060797ed 100644
--- a/miscutils/inotifyd.c
+++ b/miscutils/inotifyd.c
@@ -30,8 +30,8 @@
30//config: bool "inotifyd (3.5 kb)" 30//config: bool "inotifyd (3.5 kb)"
31//config: default n # doesn't build on Knoppix 5 31//config: default n # doesn't build on Knoppix 5
32//config: help 32//config: help
33//config: Simple inotify daemon. Reports filesystem changes. Requires 33//config: Simple inotify daemon. Reports filesystem changes. Requires
34//config: kernel >= 2.6.13 34//config: kernel >= 2.6.13
35 35
36//applet:IF_INOTIFYD(APPLET(inotifyd, BB_DIR_SBIN, BB_SUID_DROP)) 36//applet:IF_INOTIFYD(APPLET(inotifyd, BB_DIR_SBIN, BB_SUID_DROP))
37 37
diff --git a/miscutils/less.c b/miscutils/less.c
index a4ef1518f..c1d5e1b39 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -25,8 +25,8 @@
25//config: bool "less (15 kb)" 25//config: bool "less (15 kb)"
26//config: default y 26//config: default y
27//config: help 27//config: help
28//config: 'less' is a pager, meaning that it displays text files. It possesses 28//config: 'less' is a pager, meaning that it displays text files. It possesses
29//config: a wide array of features, and is an improvement over 'more'. 29//config: a wide array of features, and is an improvement over 'more'.
30//config: 30//config:
31//config:config FEATURE_LESS_MAXLINES 31//config:config FEATURE_LESS_MAXLINES
32//config: int "Max number of input lines less will try to eat" 32//config: int "Max number of input lines less will try to eat"
@@ -38,64 +38,64 @@
38//config: default y 38//config: default y
39//config: depends on LESS 39//config: depends on LESS
40//config: help 40//config: help
41//config: This option adds the capability to search for matching left and right 41//config: This option adds the capability to search for matching left and right
42//config: brackets, facilitating programming. 42//config: brackets, facilitating programming.
43//config: 43//config:
44//config:config FEATURE_LESS_FLAGS 44//config:config FEATURE_LESS_FLAGS
45//config: bool "Enable -m/-M" 45//config: bool "Enable -m/-M"
46//config: default y 46//config: default y
47//config: depends on LESS 47//config: depends on LESS
48//config: help 48//config: help
49//config: The -M/-m flag enables a more sophisticated status line. 49//config: The -M/-m flag enables a more sophisticated status line.
50//config: 50//config:
51//config:config FEATURE_LESS_TRUNCATE 51//config:config FEATURE_LESS_TRUNCATE
52//config: bool "Enable -S" 52//config: bool "Enable -S"
53//config: default y 53//config: default y
54//config: depends on LESS 54//config: depends on LESS
55//config: help 55//config: help
56//config: The -S flag causes long lines to be truncated rather than 56//config: The -S flag causes long lines to be truncated rather than
57//config: wrapped. 57//config: wrapped.
58//config: 58//config:
59//config:config FEATURE_LESS_MARKS 59//config:config FEATURE_LESS_MARKS
60//config: bool "Enable marks" 60//config: bool "Enable marks"
61//config: default y 61//config: default y
62//config: depends on LESS 62//config: depends on LESS
63//config: help 63//config: help
64//config: Marks enable positions in a file to be stored for easy reference. 64//config: Marks enable positions in a file to be stored for easy reference.
65//config: 65//config:
66//config:config FEATURE_LESS_REGEXP 66//config:config FEATURE_LESS_REGEXP
67//config: bool "Enable regular expressions" 67//config: bool "Enable regular expressions"
68//config: default y 68//config: default y
69//config: depends on LESS 69//config: depends on LESS
70//config: help 70//config: help
71//config: Enable regular expressions, allowing complex file searches. 71//config: Enable regular expressions, allowing complex file searches.
72//config: 72//config:
73//config:config FEATURE_LESS_WINCH 73//config:config FEATURE_LESS_WINCH
74//config: bool "Enable automatic resizing on window size changes" 74//config: bool "Enable automatic resizing on window size changes"
75//config: default y 75//config: default y
76//config: depends on LESS 76//config: depends on LESS
77//config: help 77//config: help
78//config: Makes less track window size changes. 78//config: Makes less track window size changes.
79//config: 79//config:
80//config:config FEATURE_LESS_ASK_TERMINAL 80//config:config FEATURE_LESS_ASK_TERMINAL
81//config: bool "Use 'tell me cursor position' ESC sequence to measure window" 81//config: bool "Use 'tell me cursor position' ESC sequence to measure window"
82//config: default y 82//config: default y
83//config: depends on FEATURE_LESS_WINCH 83//config: depends on FEATURE_LESS_WINCH
84//config: help 84//config: help
85//config: Makes less track window size changes. 85//config: Makes less track window size changes.
86//config: If terminal size can't be retrieved and $LINES/$COLUMNS are not set, 86//config: If terminal size can't be retrieved and $LINES/$COLUMNS are not set,
87//config: this option makes less perform a last-ditch effort to find it: 87//config: this option makes less perform a last-ditch effort to find it:
88//config: position cursor to 999,999 and ask terminal to report real 88//config: position cursor to 999,999 and ask terminal to report real
89//config: cursor position using "ESC [ 6 n" escape sequence, then read stdin. 89//config: cursor position using "ESC [ 6 n" escape sequence, then read stdin.
90//config: This is not clean but helps a lot on serial lines and such. 90//config: This is not clean but helps a lot on serial lines and such.
91//config: 91//config:
92//config:config FEATURE_LESS_DASHCMD 92//config:config FEATURE_LESS_DASHCMD
93//config: bool "Enable flag changes ('-' command)" 93//config: bool "Enable flag changes ('-' command)"
94//config: default y 94//config: default y
95//config: depends on LESS 95//config: depends on LESS
96//config: help 96//config: help
97//config: This enables the ability to change command-line flags within 97//config: This enables the ability to change command-line flags within
98//config: less itself ('-' keyboard command). 98//config: less itself ('-' keyboard command).
99//config: 99//config:
100//config:config FEATURE_LESS_LINENUMS 100//config:config FEATURE_LESS_LINENUMS
101//config: bool "Enable -N (dynamic switching of line numbers)" 101//config: bool "Enable -N (dynamic switching of line numbers)"
diff --git a/miscutils/lsscsi.c b/miscutils/lsscsi.c
index 72fafefb0..b69ff1eef 100644
--- a/miscutils/lsscsi.c
+++ b/miscutils/lsscsi.c
@@ -11,10 +11,10 @@
11//config: default y 11//config: default y
12//config: #select PLATFORM_LINUX 12//config: #select PLATFORM_LINUX
13//config: help 13//config: help
14//config: lsscsi is a utility for displaying information about SCSI buses in the 14//config: lsscsi is a utility for displaying information about SCSI buses in the
15//config: system and devices connected to them. 15//config: system and devices connected to them.
16//config: 16//config:
17//config: This version uses sysfs (/sys/bus/scsi/devices) only. 17//config: This version uses sysfs (/sys/bus/scsi/devices) only.
18 18
19//applet:IF_LSSCSI(APPLET(lsscsi, BB_DIR_USR_BIN, BB_SUID_DROP)) 19//applet:IF_LSSCSI(APPLET(lsscsi, BB_DIR_USR_BIN, BB_SUID_DROP))
20 20
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c
index 5f8593a0c..c2f86df01 100644
--- a/miscutils/makedevs.c
+++ b/miscutils/makedevs.c
@@ -10,20 +10,20 @@
10//config: bool "makedevs (9.3 kb)" 10//config: bool "makedevs (9.3 kb)"
11//config: default y 11//config: default y
12//config: help 12//config: help
13//config: 'makedevs' is a utility used to create a batch of devices with 13//config: 'makedevs' is a utility used to create a batch of devices with
14//config: one command. 14//config: one command.
15//config: 15//config:
16//config: There are two choices for command line behaviour, the interface 16//config: There are two choices for command line behaviour, the interface
17//config: as used by LEAF/Linux Router Project, or a device table file. 17//config: as used by LEAF/Linux Router Project, or a device table file.
18//config: 18//config:
19//config: 'leaf' is traditionally what busybox follows, it allows multiple 19//config: 'leaf' is traditionally what busybox follows, it allows multiple
20//config: devices of a particluar type to be created per command. 20//config: devices of a particluar type to be created per command.
21//config: e.g. /dev/hda[0-9] 21//config: e.g. /dev/hda[0-9]
22//config: Device properties are passed as command line arguments. 22//config: Device properties are passed as command line arguments.
23//config: 23//config:
24//config: 'table' reads device properties from a file or stdin, allowing 24//config: 'table' reads device properties from a file or stdin, allowing
25//config: a batch of unrelated devices to be made with one command. 25//config: a batch of unrelated devices to be made with one command.
26//config: User/group names are allowed as an alternative to uid/gid. 26//config: User/group names are allowed as an alternative to uid/gid.
27//config: 27//config:
28//config:choice 28//config:choice
29//config: prompt "Choose makedevs behaviour" 29//config: prompt "Choose makedevs behaviour"
diff --git a/miscutils/man.c b/miscutils/man.c
index de6ef1961..a16202f25 100644
--- a/miscutils/man.c
+++ b/miscutils/man.c
@@ -6,7 +6,7 @@
6//config: bool "man (27 kb)" 6//config: bool "man (27 kb)"
7//config: default y 7//config: default y
8//config: help 8//config: help
9//config: Format and display manual pages. 9//config: Format and display manual pages.
10 10
11//applet:IF_MAN(APPLET(man, BB_DIR_USR_BIN, BB_SUID_DROP)) 11//applet:IF_MAN(APPLET(man, BB_DIR_USR_BIN, BB_SUID_DROP))
12 12
diff --git a/miscutils/microcom.c b/miscutils/microcom.c
index 436509c47..14b9f3baf 100644
--- a/miscutils/microcom.c
+++ b/miscutils/microcom.c
@@ -11,7 +11,7 @@
11//config: bool "microcom (5.6 kb)" 11//config: bool "microcom (5.6 kb)"
12//config: default y 12//config: default y
13//config: help 13//config: help
14//config: The poor man's minicom utility for chatting with serial port devices. 14//config: The poor man's minicom utility for chatting with serial port devices.
15 15
16//applet:IF_MICROCOM(APPLET(microcom, BB_DIR_USR_BIN, BB_SUID_DROP)) 16//applet:IF_MICROCOM(APPLET(microcom, BB_DIR_USR_BIN, BB_SUID_DROP))
17 17
diff --git a/miscutils/mt.c b/miscutils/mt.c
index aec7bf775..fad656e95 100644
--- a/miscutils/mt.c
+++ b/miscutils/mt.c
@@ -6,9 +6,9 @@
6//config: bool "mt (2.6 kb)" 6//config: bool "mt (2.6 kb)"
7//config: default y 7//config: default y
8//config: help 8//config: help
9//config: mt is used to control tape devices. You can use the mt utility 9//config: mt is used to control tape devices. You can use the mt utility
10//config: to advance or rewind a tape past a specified number of archive 10//config: to advance or rewind a tape past a specified number of archive
11//config: files on the tape. 11//config: files on the tape.
12 12
13//applet:IF_MT(APPLET(mt, BB_DIR_BIN, BB_SUID_DROP)) 13//applet:IF_MT(APPLET(mt, BB_DIR_BIN, BB_SUID_DROP))
14 14
diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c
index 8659b491f..14b1ed056 100644
--- a/miscutils/nandwrite.c
+++ b/miscutils/nandwrite.c
@@ -13,14 +13,14 @@
13//config: default y 13//config: default y
14//config: select PLATFORM_LINUX 14//config: select PLATFORM_LINUX
15//config: help 15//config: help
16//config: Write to the specified MTD device, with bad blocks awareness 16//config: Write to the specified MTD device, with bad blocks awareness
17//config: 17//config:
18//config:config NANDDUMP 18//config:config NANDDUMP
19//config: bool "nanddump (6.3 kb)" 19//config: bool "nanddump (6.3 kb)"
20//config: default y 20//config: default y
21//config: select PLATFORM_LINUX 21//config: select PLATFORM_LINUX
22//config: help 22//config: help
23//config: Dump the content of raw NAND chip 23//config: Dump the content of raw NAND chip
24 24
25//applet:IF_NANDWRITE(APPLET(nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP)) 25//applet:IF_NANDWRITE(APPLET(nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP))
26//applet:IF_NANDDUMP(APPLET_ODDNAME(nanddump, nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP, nanddump)) 26//applet:IF_NANDDUMP(APPLET_ODDNAME(nanddump, nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP, nanddump))
diff --git a/miscutils/partprobe.c b/miscutils/partprobe.c
index 787def8cd..2c12a7d20 100644
--- a/miscutils/partprobe.c
+++ b/miscutils/partprobe.c
@@ -9,7 +9,7 @@
9//config: default y 9//config: default y
10//config: select PLATFORM_LINUX 10//config: select PLATFORM_LINUX
11//config: help 11//config: help
12//config: Ask kernel to rescan partition table. 12//config: Ask kernel to rescan partition table.
13 13
14//applet:IF_PARTPROBE(APPLET(partprobe, BB_DIR_USR_SBIN, BB_SUID_DROP)) 14//applet:IF_PARTPROBE(APPLET(partprobe, BB_DIR_USR_SBIN, BB_SUID_DROP))
15 15
diff --git a/miscutils/raidautorun.c b/miscutils/raidautorun.c
index 45e398ebf..ecedf9ce2 100644
--- a/miscutils/raidautorun.c
+++ b/miscutils/raidautorun.c
@@ -12,8 +12,8 @@
12//config: default y 12//config: default y
13//config: select PLATFORM_LINUX 13//config: select PLATFORM_LINUX
14//config: help 14//config: help
15//config: raidautorun tells the kernel md driver to 15//config: raidautorun tells the kernel md driver to
16//config: search and start RAID arrays. 16//config: search and start RAID arrays.
17 17
18//applet:IF_RAIDAUTORUN(APPLET(raidautorun, BB_DIR_SBIN, BB_SUID_DROP)) 18//applet:IF_RAIDAUTORUN(APPLET(raidautorun, BB_DIR_SBIN, BB_SUID_DROP))
19 19
diff --git a/miscutils/readahead.c b/miscutils/readahead.c
index eb966b0f0..972302a18 100644
--- a/miscutils/readahead.c
+++ b/miscutils/readahead.c
@@ -15,17 +15,17 @@
15//config: depends on LFS 15//config: depends on LFS
16//config: select PLATFORM_LINUX 16//config: select PLATFORM_LINUX
17//config: help 17//config: help
18//config: Preload the files listed on the command line into RAM cache so that 18//config: Preload the files listed on the command line into RAM cache so that
19//config: subsequent reads on these files will not block on disk I/O. 19//config: subsequent reads on these files will not block on disk I/O.
20//config: 20//config:
21//config: This applet just calls the readahead(2) system call on each file. 21//config: This applet just calls the readahead(2) system call on each file.
22//config: It is mainly useful in system startup scripts to preload files 22//config: It is mainly useful in system startup scripts to preload files
23//config: or executables before they are used. When used at the right time 23//config: or executables before they are used. When used at the right time
24//config: (in particular when a CPU bound process is running) it can 24//config: (in particular when a CPU bound process is running) it can
25//config: significantly speed up system startup. 25//config: significantly speed up system startup.
26//config: 26//config:
27//config: As readahead(2) blocks until each file has been read, it is best to 27//config: As readahead(2) blocks until each file has been read, it is best to
28//config: run this applet as a background job. 28//config: run this applet as a background job.
29 29
30//applet:IF_READAHEAD(APPLET(readahead, BB_DIR_USR_SBIN, BB_SUID_DROP)) 30//applet:IF_READAHEAD(APPLET(readahead, BB_DIR_USR_SBIN, BB_SUID_DROP))
31 31
diff --git a/miscutils/rfkill.c b/miscutils/rfkill.c
index 2c083b144..546928402 100644
--- a/miscutils/rfkill.c
+++ b/miscutils/rfkill.c
@@ -12,12 +12,12 @@
12//config: default n # doesn't build on Ubuntu 9.04 12//config: default n # doesn't build on Ubuntu 9.04
13//config: select PLATFORM_LINUX 13//config: select PLATFORM_LINUX
14//config: help 14//config: help
15//config: Enable/disable wireless devices. 15//config: Enable/disable wireless devices.
16//config: 16//config:
17//config: rfkill list : list all wireless devices 17//config: rfkill list : list all wireless devices
18//config: rfkill list bluetooth : list all bluetooth devices 18//config: rfkill list bluetooth : list all bluetooth devices
19//config: rfkill list 1 : list device corresponding to the given index 19//config: rfkill list 1 : list device corresponding to the given index
20//config: rfkill block|unblock wlan : block/unblock all wlan(wifi) devices 20//config: rfkill block|unblock wlan : block/unblock all wlan(wifi) devices
21//config: 21//config:
22 22
23//applet:IF_RFKILL(APPLET(rfkill, BB_DIR_USR_SBIN, BB_SUID_DROP)) 23//applet:IF_RFKILL(APPLET(rfkill, BB_DIR_USR_SBIN, BB_SUID_DROP))
diff --git a/miscutils/runlevel.c b/miscutils/runlevel.c
index 79fa3c834..6b4742255 100644
--- a/miscutils/runlevel.c
+++ b/miscutils/runlevel.c
@@ -16,10 +16,10 @@
16//config: default y 16//config: default y
17//config: depends on FEATURE_UTMP 17//config: depends on FEATURE_UTMP
18//config: help 18//config: help
19//config: find the current and previous system runlevel. 19//config: find the current and previous system runlevel.
20//config: 20//config:
21//config: This applet uses utmp but does not rely on busybox supporing 21//config: This applet uses utmp but does not rely on busybox supporing
22//config: utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc. 22//config: utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
23 23
24//applet:IF_RUNLEVEL(APPLET(runlevel, BB_DIR_SBIN, BB_SUID_DROP)) 24//applet:IF_RUNLEVEL(APPLET(runlevel, BB_DIR_SBIN, BB_SUID_DROP))
25 25
diff --git a/miscutils/rx.c b/miscutils/rx.c
index 3cf17843f..874a3f0a3 100644
--- a/miscutils/rx.c
+++ b/miscutils/rx.c
@@ -19,7 +19,7 @@
19//config: default y 19//config: default y
20//config: select PLATFORM_LINUX 20//config: select PLATFORM_LINUX
21//config: help 21//config: help
22//config: Receive files using the Xmodem protocol. 22//config: Receive files using the Xmodem protocol.
23 23
24//applet:IF_RX(APPLET(rx, BB_DIR_USR_BIN, BB_SUID_DROP)) 24//applet:IF_RX(APPLET(rx, BB_DIR_USR_BIN, BB_SUID_DROP))
25 25
diff --git a/miscutils/setserial.c b/miscutils/setserial.c
index a60950206..28a1bef18 100644
--- a/miscutils/setserial.c
+++ b/miscutils/setserial.c
@@ -13,7 +13,7 @@
13//config: default y 13//config: default y
14//config: select PLATFORM_LINUX 14//config: select PLATFORM_LINUX
15//config: help 15//config: help
16//config: Retrieve or set Linux serial port. 16//config: Retrieve or set Linux serial port.
17 17
18//applet:IF_SETSERIAL(APPLET(setserial, BB_DIR_BIN, BB_SUID_DROP)) 18//applet:IF_SETSERIAL(APPLET(setserial, BB_DIR_BIN, BB_SUID_DROP))
19 19
diff --git a/miscutils/strings.c b/miscutils/strings.c
index 17c047079..ccb05f6d4 100644
--- a/miscutils/strings.c
+++ b/miscutils/strings.c
@@ -10,8 +10,8 @@
10//config: bool "strings (4.3 kb)" 10//config: bool "strings (4.3 kb)"
11//config: default y 11//config: default y
12//config: help 12//config: help
13//config: strings prints the printable character sequences for each file 13//config: strings prints the printable character sequences for each file
14//config: specified. 14//config: specified.
15 15
16//applet:IF_STRINGS(APPLET(strings, BB_DIR_USR_BIN, BB_SUID_DROP)) 16//applet:IF_STRINGS(APPLET(strings, BB_DIR_USR_BIN, BB_SUID_DROP))
17 17
diff --git a/miscutils/time.c b/miscutils/time.c
index c443ef909..60fc11f6e 100644
--- a/miscutils/time.c
+++ b/miscutils/time.c
@@ -12,9 +12,9 @@
12//config: bool "time (7 kb)" 12//config: bool "time (7 kb)"
13//config: default y 13//config: default y
14//config: help 14//config: help
15//config: The time command runs the specified program with the given arguments. 15//config: The time command runs the specified program with the given arguments.
16//config: When the command finishes, time writes a message to standard output 16//config: When the command finishes, time writes a message to standard output
17//config: giving timing statistics about this program run. 17//config: giving timing statistics about this program run.
18 18
19//applet:IF_TIME(APPLET(time, BB_DIR_USR_BIN, BB_SUID_DROP)) 19//applet:IF_TIME(APPLET(time, BB_DIR_USR_BIN, BB_SUID_DROP))
20 20
diff --git a/miscutils/ttysize.c b/miscutils/ttysize.c
index a2eeb9347..7f6a84308 100644
--- a/miscutils/ttysize.c
+++ b/miscutils/ttysize.c
@@ -13,10 +13,10 @@
13//config: bool "ttysize (372 bytes)" 13//config: bool "ttysize (372 bytes)"
14//config: default y 14//config: default y
15//config: help 15//config: help
16//config: A replacement for "stty size". Unlike stty, can report only width, 16//config: A replacement for "stty size". Unlike stty, can report only width,
17//config: only height, or both, in any order. It also does not complain on 17//config: only height, or both, in any order. It also does not complain on
18//config: error, but returns default 80x24. 18//config: error, but returns default 80x24.
19//config: Usage in shell scripts: width=`ttysize w`. 19//config: Usage in shell scripts: width=`ttysize w`.
20 20
21//applet:IF_TTYSIZE(APPLET(ttysize, BB_DIR_USR_BIN, BB_SUID_DROP)) 21//applet:IF_TTYSIZE(APPLET(ttysize, BB_DIR_USR_BIN, BB_SUID_DROP))
22 22
diff --git a/miscutils/ubi_tools.c b/miscutils/ubi_tools.c
index 07f9a72ea..c6ba22adf 100644
--- a/miscutils/ubi_tools.c
+++ b/miscutils/ubi_tools.c
@@ -8,42 +8,42 @@
8//config: default y 8//config: default y
9//config: select PLATFORM_LINUX 9//config: select PLATFORM_LINUX
10//config: help 10//config: help
11//config: Attach MTD device to an UBI device. 11//config: Attach MTD device to an UBI device.
12//config: 12//config:
13//config:config UBIDETACH 13//config:config UBIDETACH
14//config: bool "ubidetach (4.6 kb)" 14//config: bool "ubidetach (4.6 kb)"
15//config: default y 15//config: default y
16//config: select PLATFORM_LINUX 16//config: select PLATFORM_LINUX
17//config: help 17//config: help
18//config: Detach MTD device from an UBI device. 18//config: Detach MTD device from an UBI device.
19//config: 19//config:
20//config:config UBIMKVOL 20//config:config UBIMKVOL
21//config: bool "ubimkvol (5.8 kb)" 21//config: bool "ubimkvol (5.8 kb)"
22//config: default y 22//config: default y
23//config: select PLATFORM_LINUX 23//config: select PLATFORM_LINUX
24//config: help 24//config: help
25//config: Create a UBI volume. 25//config: Create a UBI volume.
26//config: 26//config:
27//config:config UBIRMVOL 27//config:config UBIRMVOL
28//config: bool "ubirmvol (5.2 kb)" 28//config: bool "ubirmvol (5.2 kb)"
29//config: default y 29//config: default y
30//config: select PLATFORM_LINUX 30//config: select PLATFORM_LINUX
31//config: help 31//config: help
32//config: Delete a UBI volume. 32//config: Delete a UBI volume.
33//config: 33//config:
34//config:config UBIRSVOL 34//config:config UBIRSVOL
35//config: bool "ubirsvol (4.6 kb)" 35//config: bool "ubirsvol (4.6 kb)"
36//config: default y 36//config: default y
37//config: select PLATFORM_LINUX 37//config: select PLATFORM_LINUX
38//config: help 38//config: help
39//config: Resize a UBI volume. 39//config: Resize a UBI volume.
40//config: 40//config:
41//config:config UBIUPDATEVOL 41//config:config UBIUPDATEVOL
42//config: bool "ubiupdatevol (5.6 kb)" 42//config: bool "ubiupdatevol (5.6 kb)"
43//config: default y 43//config: default y
44//config: select PLATFORM_LINUX 44//config: select PLATFORM_LINUX
45//config: help 45//config: help
46//config: Update a UBI volume. 46//config: Update a UBI volume.
47 47
48// APPLET_ODDNAME:name main location suid_type help 48// APPLET_ODDNAME:name main location suid_type help
49//applet:IF_UBIATTACH( APPLET_ODDNAME(ubiattach, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubiattach)) 49//applet:IF_UBIATTACH( APPLET_ODDNAME(ubiattach, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubiattach))
diff --git a/miscutils/ubirename.c b/miscutils/ubirename.c
index 8fb42ee81..786c4b9fa 100644
--- a/miscutils/ubirename.c
+++ b/miscutils/ubirename.c
@@ -11,7 +11,7 @@
11//config: default y 11//config: default y
12//config: select PLATFORM_LINUX 12//config: select PLATFORM_LINUX
13//config: help 13//config: help
14//config: Utility to rename UBI volumes 14//config: Utility to rename UBI volumes
15 15
16//applet:IF_UBIRENAME(APPLET(ubirename, BB_DIR_USR_SBIN, BB_SUID_DROP)) 16//applet:IF_UBIRENAME(APPLET(ubirename, BB_DIR_USR_SBIN, BB_SUID_DROP))
17 17
diff --git a/miscutils/volname.c b/miscutils/volname.c
index d80787f1a..6e6bbaa44 100644
--- a/miscutils/volname.c
+++ b/miscutils/volname.c
@@ -31,7 +31,7 @@
31//config: bool "volname (1.7 kb)" 31//config: bool "volname (1.7 kb)"
32//config: default y 32//config: default y
33//config: help 33//config: help
34//config: Prints a CD-ROM volume name. 34//config: Prints a CD-ROM volume name.
35 35
36//applet:IF_VOLNAME(APPLET(volname, BB_DIR_USR_BIN, BB_SUID_DROP)) 36//applet:IF_VOLNAME(APPLET(volname, BB_DIR_USR_BIN, BB_SUID_DROP))
37 37
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c
index 2ef4997b1..ec06bcb51 100644
--- a/miscutils/watchdog.c
+++ b/miscutils/watchdog.c
@@ -13,12 +13,12 @@
13//config: default y 13//config: default y
14//config: select PLATFORM_LINUX 14//config: select PLATFORM_LINUX
15//config: help 15//config: help
16//config: The watchdog utility is used with hardware or software watchdog 16//config: The watchdog utility is used with hardware or software watchdog
17//config: device drivers. It opens the specified watchdog device special file 17//config: device drivers. It opens the specified watchdog device special file
18//config: and periodically writes a magic character to the device. If the 18//config: and periodically writes a magic character to the device. If the
19//config: watchdog applet ever fails to write the magic character within a 19//config: watchdog applet ever fails to write the magic character within a
20//config: certain amount of time, the watchdog device assumes the system has 20//config: certain amount of time, the watchdog device assumes the system has
21//config: hung, and will cause the hardware to reboot. 21//config: hung, and will cause the hardware to reboot.
22 22
23//applet:IF_WATCHDOG(APPLET(watchdog, BB_DIR_SBIN, BB_SUID_DROP)) 23//applet:IF_WATCHDOG(APPLET(watchdog, BB_DIR_SBIN, BB_SUID_DROP))
24 24