diff options
| author | Ron Yorston <rmy@pobox.com> | 2023-07-13 08:06:26 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2023-07-13 08:06:26 +0100 |
| commit | bd978d0256fd3a67de1a7dd54f1a37f9435be363 (patch) | |
| tree | cb869384a533ac0d95fe787d75be6c050e1e7c1a /miscutils | |
| parent | b2901ce8efa050da00e0f3a73f3be9bf9402deea (diff) | |
| parent | d70256a5c719439cc6fab6a4571c1bb46178e4c7 (diff) | |
| download | busybox-w32-bd978d0256fd3a67de1a7dd54f1a37f9435be363.tar.gz busybox-w32-bd978d0256fd3a67de1a7dd54f1a37f9435be363.tar.bz2 busybox-w32-bd978d0256fd3a67de1a7dd54f1a37f9435be363.zip | |
Merge branch 'busybox' into merge
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/adjtimex.c | 2 | ||||
| -rw-r--r-- | miscutils/ascii.c | 2 | ||||
| -rw-r--r-- | miscutils/bc.c | 4 | ||||
| -rw-r--r-- | miscutils/beep.c | 2 | ||||
| -rw-r--r-- | miscutils/chat.c | 2 | ||||
| -rw-r--r-- | miscutils/crond.c | 2 | ||||
| -rw-r--r-- | miscutils/devfsd.c | 6 | ||||
| -rw-r--r-- | miscutils/devmem.c | 2 | ||||
| -rw-r--r-- | miscutils/hexedit.c | 2 | ||||
| -rw-r--r-- | miscutils/i2c_tools.c | 12 | ||||
| -rw-r--r-- | miscutils/lsscsi.c | 2 | ||||
| -rw-r--r-- | miscutils/makedevs.c | 2 | ||||
| -rw-r--r-- | miscutils/microcom.c | 2 | ||||
| -rw-r--r-- | miscutils/mt.c | 2 | ||||
| -rw-r--r-- | miscutils/nandwrite.c | 4 | ||||
| -rw-r--r-- | miscutils/partprobe.c | 2 | ||||
| -rw-r--r-- | miscutils/raidautorun.c | 2 | ||||
| -rw-r--r-- | miscutils/readahead.c | 2 | ||||
| -rw-r--r-- | miscutils/runlevel.c | 2 | ||||
| -rw-r--r-- | miscutils/rx.c | 2 | ||||
| -rw-r--r-- | miscutils/seedrng.c | 2 | ||||
| -rw-r--r-- | miscutils/setfattr.c | 2 | ||||
| -rw-r--r-- | miscutils/setserial.c | 4 | ||||
| -rw-r--r-- | miscutils/strings.c | 2 | ||||
| -rw-r--r-- | miscutils/time.c | 2 | ||||
| -rw-r--r-- | miscutils/tree.c | 2 | ||||
| -rw-r--r-- | miscutils/ts.c | 2 | ||||
| -rw-r--r-- | miscutils/ttysize.c | 2 | ||||
| -rw-r--r-- | miscutils/ubi_tools.c | 12 | ||||
| -rw-r--r-- | miscutils/ubirename.c | 2 | ||||
| -rw-r--r-- | miscutils/volname.c | 2 | ||||
| -rw-r--r-- | miscutils/watchdog.c | 2 |
32 files changed, 47 insertions, 47 deletions
diff --git a/miscutils/adjtimex.c b/miscutils/adjtimex.c index 209d1d560..fb478c0c9 100644 --- a/miscutils/adjtimex.c +++ b/miscutils/adjtimex.c | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 11 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 12 | */ | 12 | */ |
| 13 | //config:config ADJTIMEX | 13 | //config:config ADJTIMEX |
| 14 | //config: bool "adjtimex (4.7 kb)" | 14 | //config: bool "adjtimex (4.9 kb)" |
| 15 | //config: default y | 15 | //config: default y |
| 16 | //config: help | 16 | //config: help |
| 17 | //config: Adjtimex reads and optionally sets adjustment parameters for | 17 | //config: Adjtimex reads and optionally sets adjustment parameters for |
diff --git a/miscutils/ascii.c b/miscutils/ascii.c index 98c11fa51..7bcb950fd 100644 --- a/miscutils/ascii.c +++ b/miscutils/ascii.c | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | * Licensed under GPLv2, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2, see file LICENSE in this source tree. |
| 6 | */ | 6 | */ |
| 7 | //config:config ASCII | 7 | //config:config ASCII |
| 8 | //config: bool "ascii" | 8 | //config: bool "ascii (784 bytes)" |
| 9 | //config: default y | 9 | //config: default y |
| 10 | //config: help | 10 | //config: help |
| 11 | //config: Print ascii table. | 11 | //config: Print ascii table. |
diff --git a/miscutils/bc.c b/miscutils/bc.c index 01402b311..a82646674 100644 --- a/miscutils/bc.c +++ b/miscutils/bc.c | |||
| @@ -14,7 +14,7 @@ | |||
| 14 | #define SANITY_CHECKS 1 | 14 | #define SANITY_CHECKS 1 |
| 15 | 15 | ||
| 16 | //config:config BC | 16 | //config:config BC |
| 17 | //config: bool "bc (45 kb)" | 17 | //config: bool "bc (38 kb)" |
| 18 | //config: default y | 18 | //config: default y |
| 19 | //config: select FEATURE_DC_BIG | 19 | //config: select FEATURE_DC_BIG |
| 20 | //config: help | 20 | //config: help |
| @@ -38,7 +38,7 @@ | |||
| 38 | //config: 5) "read()" accepts expressions, not only numeric literals. | 38 | //config: 5) "read()" accepts expressions, not only numeric literals. |
| 39 | //config: | 39 | //config: |
| 40 | //config:config DC | 40 | //config:config DC |
| 41 | //config: bool "dc (36 kb)" | 41 | //config: bool "dc (29 kb)" |
| 42 | //config: default y | 42 | //config: default y |
| 43 | //config: help | 43 | //config: help |
| 44 | //config: dc is a reverse-polish notation command-line calculator which | 44 | //config: dc is a reverse-polish notation command-line calculator which |
diff --git a/miscutils/beep.c b/miscutils/beep.c index 7c60aed08..724a666c8 100644 --- a/miscutils/beep.c +++ b/miscutils/beep.c | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 8 | */ | 8 | */ |
| 9 | //config:config BEEP | 9 | //config:config BEEP |
| 10 | //config: bool "beep (2.4 kb)" | 10 | //config: bool "beep (2.7 kb)" |
| 11 | //config: default y | 11 | //config: default y |
| 12 | //config: help | 12 | //config: help |
| 13 | //config: The beep applets beeps in a given freq/Hz. | 13 | //config: The beep applets beeps in a given freq/Hz. |
diff --git a/miscutils/chat.c b/miscutils/chat.c index 83aac37de..7daf7a6f6 100644 --- a/miscutils/chat.c +++ b/miscutils/chat.c | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | * Licensed under GPLv2, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2, see file LICENSE in this source tree. |
| 9 | */ | 9 | */ |
| 10 | //config:config CHAT | 10 | //config:config CHAT |
| 11 | //config: bool "chat (6.3 kb)" | 11 | //config: bool "chat (6.7 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. |
diff --git a/miscutils/crond.c b/miscutils/crond.c index bd43c6b68..3bbb5ac83 100644 --- a/miscutils/crond.c +++ b/miscutils/crond.c | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 10 | */ | 10 | */ |
| 11 | //config:config CROND | 11 | //config:config CROND |
| 12 | //config: bool "crond (14 kb)" | 12 | //config: bool "crond (15 kb)" |
| 13 | //config: default y | 13 | //config: default y |
| 14 | //config: select FEATURE_SYSLOG | 14 | //config: select FEATURE_SYSLOG |
| 15 | //config: help | 15 | //config: help |
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index 297693f8c..36b491595 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
| @@ -354,10 +354,10 @@ static const char bb_msg_variable_not_found[] ALIGN1 = "variable: %s not found"; | |||
| 354 | #define simple_info_logger(p, msg) | 354 | #define simple_info_logger(p, msg) |
| 355 | #define msg_logger(p, fmt, args...) | 355 | #define msg_logger(p, fmt, args...) |
| 356 | #define simple_msg_logger(p, msg) | 356 | #define simple_msg_logger(p, msg) |
| 357 | #define msg_logger_and_die(p, fmt, args...) exit(EXIT_FAILURE) | 357 | #define msg_logger_and_die(p, fmt, args...) exit_FAILURE() |
| 358 | #define simple_msg_logger_and_die(p, msg) exit(EXIT_FAILURE) | 358 | #define simple_msg_logger_and_die(p, msg) exit_FAILURE() |
| 359 | #define error_logger(p, fmt, args...) | 359 | #define error_logger(p, fmt, args...) |
| 360 | #define error_logger_and_die(p, fmt, args...) exit(EXIT_FAILURE) | 360 | #define error_logger_and_die(p, fmt, args...) exit_FAILURE() |
| 361 | #endif | 361 | #endif |
| 362 | 362 | ||
| 363 | static void safe_memcpy(char *dest, const char *src, int len) | 363 | static void safe_memcpy(char *dest, const char *src, int len) |
diff --git a/miscutils/devmem.c b/miscutils/devmem.c index f21621bd6..015b18f71 100644 --- a/miscutils/devmem.c +++ b/miscutils/devmem.c | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 4 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 5 | */ | 5 | */ |
| 6 | //config:config DEVMEM | 6 | //config:config DEVMEM |
| 7 | //config: bool "devmem (2.5 kb)" | 7 | //config: bool "devmem (2.7 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 |
diff --git a/miscutils/hexedit.c b/miscutils/hexedit.c index 15ad78377..41f26b938 100644 --- a/miscutils/hexedit.c +++ b/miscutils/hexedit.c | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | * Licensed under GPLv2, see file LICENSE in this source tree. | 4 | * Licensed under GPLv2, see file LICENSE in this source tree. |
| 5 | */ | 5 | */ |
| 6 | //config:config HEXEDIT | 6 | //config:config HEXEDIT |
| 7 | //config: bool "hexedit (21 kb)" | 7 | //config: bool "hexedit (15 kb)" |
| 8 | //config: default y | 8 | //config: default y |
| 9 | //config: help | 9 | //config: help |
| 10 | //config: Edit file in hexadecimal. | 10 | //config: Edit file in hexadecimal. |
diff --git a/miscutils/i2c_tools.c b/miscutils/i2c_tools.c index da26f5e19..5f41a72ec 100644 --- a/miscutils/i2c_tools.c +++ b/miscutils/i2c_tools.c | |||
| @@ -9,31 +9,31 @@ | |||
| 9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 10 | */ | 10 | */ |
| 11 | //config:config I2CGET | 11 | //config:config I2CGET |
| 12 | //config: bool "i2cget (5.5 kb)" | 12 | //config: bool "i2cget (5.7 kb)" |
| 13 | //config: default y | 13 | //config: default y |
| 14 | //config: help | 14 | //config: help |
| 15 | //config: Read from I2C/SMBus chip registers. | 15 | //config: Read from I2C/SMBus chip registers. |
| 16 | //config: | 16 | //config: |
| 17 | //config:config I2CSET | 17 | //config:config I2CSET |
| 18 | //config: bool "i2cset (6.7 kb)" | 18 | //config: bool "i2cset (6.9 kb)" |
| 19 | //config: default y | 19 | //config: default y |
| 20 | //config: help | 20 | //config: help |
| 21 | //config: Set I2C registers. | 21 | //config: Set I2C registers. |
| 22 | //config: | 22 | //config: |
| 23 | //config:config I2CDUMP | 23 | //config:config I2CDUMP |
| 24 | //config: bool "i2cdump (7.1 kb)" | 24 | //config: bool "i2cdump (7.2 kb)" |
| 25 | //config: default y | 25 | //config: default y |
| 26 | //config: help | 26 | //config: help |
| 27 | //config: Examine I2C registers. | 27 | //config: Examine I2C registers. |
| 28 | //config: | 28 | //config: |
| 29 | //config:config I2CDETECT | 29 | //config:config I2CDETECT |
| 30 | //config: bool "i2cdetect (7.1 kb)" | 30 | //config: bool "i2cdetect (7.3 kb)" |
| 31 | //config: default y | 31 | //config: default y |
| 32 | //config: help | 32 | //config: help |
| 33 | //config: Detect I2C chips. | 33 | //config: Detect I2C chips. |
| 34 | //config: | 34 | //config: |
| 35 | //config:config I2CTRANSFER | 35 | //config:config I2CTRANSFER |
| 36 | //config: bool "i2ctransfer (4.0 kb)" | 36 | //config: bool "i2ctransfer (5.5 kb)" |
| 37 | //config: default y | 37 | //config: default y |
| 38 | //config: help | 38 | //config: help |
| 39 | //config: Send user-defined I2C messages in one transfer. | 39 | //config: Send user-defined I2C messages in one transfer. |
| @@ -107,6 +107,7 @@ static ALWAYS_INLINE void *itoptr(int i) | |||
| 107 | return (void*)(intptr_t)i; | 107 | return (void*)(intptr_t)i; |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | #if ENABLE_I2CGET || ENABLE_I2CSET || ENABLE_I2CDUMP || ENABLE_I2CDETECT | ||
| 110 | static int32_t i2c_smbus_access(int fd, char read_write, uint8_t cmd, | 111 | static int32_t i2c_smbus_access(int fd, char read_write, uint8_t cmd, |
| 111 | int size, union i2c_smbus_data *data) | 112 | int size, union i2c_smbus_data *data) |
| 112 | { | 113 | { |
| @@ -120,7 +121,6 @@ static int32_t i2c_smbus_access(int fd, char read_write, uint8_t cmd, | |||
| 120 | return ioctl(fd, I2C_SMBUS, &args); | 121 | return ioctl(fd, I2C_SMBUS, &args); |
| 121 | } | 122 | } |
| 122 | 123 | ||
| 123 | #if ENABLE_I2CGET || ENABLE_I2CSET || ENABLE_I2CDUMP || ENABLE_I2CDETECT | ||
| 124 | static int32_t i2c_smbus_read_byte(int fd) | 124 | static int32_t i2c_smbus_read_byte(int fd) |
| 125 | { | 125 | { |
| 126 | union i2c_smbus_data data; | 126 | union i2c_smbus_data data; |
diff --git a/miscutils/lsscsi.c b/miscutils/lsscsi.c index 8f7eda761..9f677ba28 100644 --- a/miscutils/lsscsi.c +++ b/miscutils/lsscsi.c | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 8 | */ | 8 | */ |
| 9 | //config:config LSSCSI | 9 | //config:config LSSCSI |
| 10 | //config: bool "lsscsi (2.5 kb)" | 10 | //config: bool "lsscsi (2.9 kb)" |
| 11 | //config: default y | 11 | //config: default y |
| 12 | //config: help | 12 | //config: help |
| 13 | //config: lsscsi is a utility for displaying information about SCSI buses in the | 13 | //config: lsscsi is a utility for displaying information about SCSI buses in the |
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index 93c550042..48be91875 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | * known bugs: can't deal with alpha ranges | 7 | * known bugs: can't deal with alpha ranges |
| 8 | */ | 8 | */ |
| 9 | //config:config MAKEDEVS | 9 | //config:config MAKEDEVS |
| 10 | //config: bool "makedevs (9.2 kb)" | 10 | //config: bool "makedevs (9.4 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 |
diff --git a/miscutils/microcom.c b/miscutils/microcom.c index 97b46342f..99db207bf 100644 --- a/miscutils/microcom.c +++ b/miscutils/microcom.c | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | * Licensed under GPLv2, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2, see file LICENSE in this source tree. |
| 9 | */ | 9 | */ |
| 10 | //config:config MICROCOM | 10 | //config:config MICROCOM |
| 11 | //config: bool "microcom (5.7 kb)" | 11 | //config: bool "microcom (5.9 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. |
diff --git a/miscutils/mt.c b/miscutils/mt.c index 52d5476a1..c781ef545 100644 --- a/miscutils/mt.c +++ b/miscutils/mt.c | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 4 | */ | 4 | */ |
| 5 | //config:config MT | 5 | //config:config MT |
| 6 | //config: bool "mt (2.5 kb)" | 6 | //config: bool "mt (2.7 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 |
diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c index 52bf49434..6ac92aa1f 100644 --- a/miscutils/nandwrite.c +++ b/miscutils/nandwrite.c | |||
| @@ -8,13 +8,13 @@ | |||
| 8 | * TODO: add support for large (>4GB) MTD devices | 8 | * TODO: add support for large (>4GB) MTD devices |
| 9 | */ | 9 | */ |
| 10 | //config:config NANDWRITE | 10 | //config:config NANDWRITE |
| 11 | //config: bool "nandwrite (4.8 kb)" | 11 | //config: bool "nandwrite (5 kb)" |
| 12 | //config: default y | 12 | //config: default y |
| 13 | //config: help | 13 | //config: help |
| 14 | //config: Write to the specified MTD device, with bad blocks awareness | 14 | //config: Write to the specified MTD device, with bad blocks awareness |
| 15 | //config: | 15 | //config: |
| 16 | //config:config NANDDUMP | 16 | //config:config NANDDUMP |
| 17 | //config: bool "nanddump (5.2 kb)" | 17 | //config: bool "nanddump (5.4 kb)" |
| 18 | //config: default y | 18 | //config: default y |
| 19 | //config: help | 19 | //config: help |
| 20 | //config: Dump the content of raw NAND chip | 20 | //config: Dump the content of raw NAND chip |
diff --git a/miscutils/partprobe.c b/miscutils/partprobe.c index 0fb1927b7..b21c6241b 100644 --- a/miscutils/partprobe.c +++ b/miscutils/partprobe.c | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | * Licensed under GPLv2, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2, see file LICENSE in this source tree. |
| 6 | */ | 6 | */ |
| 7 | //config:config PARTPROBE | 7 | //config:config PARTPROBE |
| 8 | //config: bool "partprobe (3.5 kb)" | 8 | //config: bool "partprobe (3.7 kb)" |
| 9 | //config: default y | 9 | //config: default y |
| 10 | //config: help | 10 | //config: help |
| 11 | //config: Ask kernel to rescan partition table. | 11 | //config: Ask kernel to rescan partition table. |
diff --git a/miscutils/raidautorun.c b/miscutils/raidautorun.c index 905862cf7..8e70b5a51 100644 --- a/miscutils/raidautorun.c +++ b/miscutils/raidautorun.c | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 8 | */ | 8 | */ |
| 9 | //config:config RAIDAUTORUN | 9 | //config:config RAIDAUTORUN |
| 10 | //config: bool "raidautorun (1.3 kb)" | 10 | //config: bool "raidautorun (1.6 kb)" |
| 11 | //config: default y | 11 | //config: default y |
| 12 | //config: help | 12 | //config: help |
| 13 | //config: raidautorun tells the kernel md driver to | 13 | //config: raidautorun tells the kernel md driver to |
diff --git a/miscutils/readahead.c b/miscutils/readahead.c index d2bed2092..a9e672617 100644 --- a/miscutils/readahead.c +++ b/miscutils/readahead.c | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 10 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 11 | */ | 11 | */ |
| 12 | //config:config READAHEAD | 12 | //config:config READAHEAD |
| 13 | //config: bool "readahead (1.5 kb)" | 13 | //config: bool "readahead (1.7 kb)" |
| 14 | //config: default y | 14 | //config: default y |
| 15 | //config: depends on LFS | 15 | //config: depends on LFS |
| 16 | //config: help | 16 | //config: help |
diff --git a/miscutils/runlevel.c b/miscutils/runlevel.c index 2f1581ead..7b96a5472 100644 --- a/miscutils/runlevel.c +++ b/miscutils/runlevel.c | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | * initially busyboxified by Bernhard Reutner-Fischer | 12 | * initially busyboxified by Bernhard Reutner-Fischer |
| 13 | */ | 13 | */ |
| 14 | //config:config RUNLEVEL | 14 | //config:config RUNLEVEL |
| 15 | //config: bool "runlevel (559 bytes)" | 15 | //config: bool "runlevel (837 bytes)" |
| 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 |
diff --git a/miscutils/rx.c b/miscutils/rx.c index d8b041480..3052bdef7 100644 --- a/miscutils/rx.c +++ b/miscutils/rx.c | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | * This was originally written for blob and then adapted for busybox. | 15 | * This was originally written for blob and then adapted for busybox. |
| 16 | */ | 16 | */ |
| 17 | //config:config RX | 17 | //config:config RX |
| 18 | //config: bool "rx (2.9 kb)" | 18 | //config: bool "rx (3.2 kb)" |
| 19 | //config: default y | 19 | //config: default y |
| 20 | //config: help | 20 | //config: help |
| 21 | //config: Receive files using the Xmodem protocol. | 21 | //config: Receive files using the Xmodem protocol. |
diff --git a/miscutils/seedrng.c b/miscutils/seedrng.c index 3bf6e2ea7..7a2331cb1 100644 --- a/miscutils/seedrng.c +++ b/miscutils/seedrng.c | |||
| @@ -20,7 +20,7 @@ | |||
| 20 | * This is based on code from <https://git.zx2c4.com/seedrng/about/>. | 20 | * This is based on code from <https://git.zx2c4.com/seedrng/about/>. |
| 21 | */ | 21 | */ |
| 22 | //config:config SEEDRNG | 22 | //config:config SEEDRNG |
| 23 | //config: bool "seedrng (1.3 kb)" | 23 | //config: bool "seedrng (9.1 kb)" |
| 24 | //config: default y | 24 | //config: default y |
| 25 | //config: help | 25 | //config: help |
| 26 | //config: Seed the kernel RNG from seed files, meant to be called | 26 | //config: Seed the kernel RNG from seed files, meant to be called |
diff --git a/miscutils/setfattr.c b/miscutils/setfattr.c index 9792c2660..10d1840c9 100644 --- a/miscutils/setfattr.c +++ b/miscutils/setfattr.c | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | * Licensed under GPLv2, see file LICENSE in this source tree. | 6 | * Licensed under GPLv2, see file LICENSE in this source tree. |
| 7 | */ | 7 | */ |
| 8 | //config:config SETFATTR | 8 | //config:config SETFATTR |
| 9 | //config: bool "setfattr (3.7 kb)" | 9 | //config: bool "setfattr (3.9 kb)" |
| 10 | //config: default y | 10 | //config: default y |
| 11 | //config: help | 11 | //config: help |
| 12 | //config: Set/delete extended attributes on files | 12 | //config: Set/delete extended attributes on files |
diff --git a/miscutils/setserial.c b/miscutils/setserial.c index 2006861e2..5fb93d226 100644 --- a/miscutils/setserial.c +++ b/miscutils/setserial.c | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 9 | */ | 9 | */ |
| 10 | //config:config SETSERIAL | 10 | //config:config SETSERIAL |
| 11 | //config: bool "setserial (6.9 kb)" | 11 | //config: bool "setserial (7.1 kb)" |
| 12 | //config: default y | 12 | //config: default y |
| 13 | //config: help | 13 | //config: help |
| 14 | //config: Retrieve or set Linux serial port. | 14 | //config: Retrieve or set Linux serial port. |
| @@ -535,7 +535,7 @@ static int serial_ctl(int fd, int ops, struct serial_struct *serinfo) | |||
| 535 | bb_simple_perror_msg(err); | 535 | bb_simple_perror_msg(err); |
| 536 | if (ops & CTL_NODIE) | 536 | if (ops & CTL_NODIE) |
| 537 | goto nodie; | 537 | goto nodie; |
| 538 | exit(EXIT_FAILURE); | 538 | exit_FAILURE(); |
| 539 | } | 539 | } |
| 540 | 540 | ||
| 541 | static void print_flag(const char **prefix, const char *flag) | 541 | static void print_flag(const char **prefix, const char *flag) |
diff --git a/miscutils/strings.c b/miscutils/strings.c index b01884968..036df5c5d 100644 --- a/miscutils/strings.c +++ b/miscutils/strings.c | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 8 | */ | 8 | */ |
| 9 | //config:config STRINGS | 9 | //config:config STRINGS |
| 10 | //config: bool "strings (4.6 kb)" | 10 | //config: bool "strings (4.8 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 |
diff --git a/miscutils/time.c b/miscutils/time.c index ac37a1375..2c71382bf 100644 --- a/miscutils/time.c +++ b/miscutils/time.c | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | * Heavily modified for busybox by Erik Andersen <andersen@codepoet.org> | 10 | * Heavily modified for busybox by Erik Andersen <andersen@codepoet.org> |
| 11 | */ | 11 | */ |
| 12 | //config:config TIME | 12 | //config:config TIME |
| 13 | //config: bool "time (6.8 kb)" | 13 | //config: bool "time (8.1 kb)" |
| 14 | //config: default y | 14 | //config: default y |
| 15 | //config: help | 15 | //config: help |
| 16 | //config: The time command runs the specified program with the given arguments. | 16 | //config: The time command runs the specified program with the given arguments. |
diff --git a/miscutils/tree.c b/miscutils/tree.c index fa55696c6..0b142c85c 100644 --- a/miscutils/tree.c +++ b/miscutils/tree.c | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | * Licensed under GPLv2, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2, see file LICENSE in this source tree. |
| 6 | */ | 6 | */ |
| 7 | //config:config TREE | 7 | //config:config TREE |
| 8 | //config: bool "tree (0.6 kb)" | 8 | //config: bool "tree (2.5 kb)" |
| 9 | //config: default y | 9 | //config: default y |
| 10 | //config: help | 10 | //config: help |
| 11 | //config: List files and directories in a tree structure. | 11 | //config: List files and directories in a tree structure. |
diff --git a/miscutils/ts.c b/miscutils/ts.c index af6677fc7..f5e727eb5 100644 --- a/miscutils/ts.c +++ b/miscutils/ts.c | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | * Licensed under GPLv2, see file LICENSE in this source tree. | 4 | * Licensed under GPLv2, see file LICENSE in this source tree. |
| 5 | */ | 5 | */ |
| 6 | //config:config TS | 6 | //config:config TS |
| 7 | //config: bool "ts (450 bytes)" | 7 | //config: bool "ts (4.4 kb)" |
| 8 | //config: default y | 8 | //config: default y |
| 9 | 9 | ||
| 10 | //applet:IF_TS(APPLET(ts, BB_DIR_USR_BIN, BB_SUID_DROP)) | 10 | //applet:IF_TS(APPLET(ts, BB_DIR_USR_BIN, BB_SUID_DROP)) |
diff --git a/miscutils/ttysize.c b/miscutils/ttysize.c index d635b29ce..e95936637 100644 --- a/miscutils/ttysize.c +++ b/miscutils/ttysize.c | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | * Licensed under GPLv2, see file LICENSE in this source tree. | 10 | * Licensed under GPLv2, see file LICENSE in this source tree. |
| 11 | */ | 11 | */ |
| 12 | //config:config TTYSIZE | 12 | //config:config TTYSIZE |
| 13 | //config: bool "ttysize (432 bytes)" | 13 | //config: bool "ttysize (718 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, |
diff --git a/miscutils/ubi_tools.c b/miscutils/ubi_tools.c index 6d49f61d9..8de444eb2 100644 --- a/miscutils/ubi_tools.c +++ b/miscutils/ubi_tools.c | |||
| @@ -4,37 +4,37 @@ | |||
| 4 | * Licensed under GPLv2, see file LICENSE in this source tree. | 4 | * Licensed under GPLv2, see file LICENSE in this source tree. |
| 5 | */ | 5 | */ |
| 6 | //config:config UBIATTACH | 6 | //config:config UBIATTACH |
| 7 | //config: bool "ubiattach (4.2 kb)" | 7 | //config: bool "ubiattach (4.5 kb)" |
| 8 | //config: default y | 8 | //config: default y |
| 9 | //config: help | 9 | //config: help |
| 10 | //config: Attach MTD device to an UBI device. | 10 | //config: Attach MTD device to an UBI device. |
| 11 | //config: | 11 | //config: |
| 12 | //config:config UBIDETACH | 12 | //config:config UBIDETACH |
| 13 | //config: bool "ubidetach (4.1 kb)" | 13 | //config: bool "ubidetach (4.3 kb)" |
| 14 | //config: default y | 14 | //config: default y |
| 15 | //config: help | 15 | //config: help |
| 16 | //config: Detach MTD device from an UBI device. | 16 | //config: Detach MTD device from an UBI device. |
| 17 | //config: | 17 | //config: |
| 18 | //config:config UBIMKVOL | 18 | //config:config UBIMKVOL |
| 19 | //config: bool "ubimkvol (5.3 kb)" | 19 | //config: bool "ubimkvol (5.5 kb)" |
| 20 | //config: default y | 20 | //config: default y |
| 21 | //config: help | 21 | //config: help |
| 22 | //config: Create a UBI volume. | 22 | //config: Create a UBI volume. |
| 23 | //config: | 23 | //config: |
| 24 | //config:config UBIRMVOL | 24 | //config:config UBIRMVOL |
| 25 | //config: bool "ubirmvol (4.9 kb)" | 25 | //config: bool "ubirmvol (5.1 kb)" |
| 26 | //config: default y | 26 | //config: default y |
| 27 | //config: help | 27 | //config: help |
| 28 | //config: Delete a UBI volume. | 28 | //config: Delete a UBI volume. |
| 29 | //config: | 29 | //config: |
| 30 | //config:config UBIRSVOL | 30 | //config:config UBIRSVOL |
| 31 | //config: bool "ubirsvol (4.2 kb)" | 31 | //config: bool "ubirsvol (4.4 kb)" |
| 32 | //config: default y | 32 | //config: default y |
| 33 | //config: help | 33 | //config: help |
| 34 | //config: Resize a UBI volume. | 34 | //config: Resize a UBI volume. |
| 35 | //config: | 35 | //config: |
| 36 | //config:config UBIUPDATEVOL | 36 | //config:config UBIUPDATEVOL |
| 37 | //config: bool "ubiupdatevol (5.2 kb)" | 37 | //config: bool "ubiupdatevol (5.6 kb)" |
| 38 | //config: default y | 38 | //config: default y |
| 39 | //config: help | 39 | //config: help |
| 40 | //config: Update a UBI volume. | 40 | //config: Update a UBI volume. |
diff --git a/miscutils/ubirename.c b/miscutils/ubirename.c index 06a0adacf..af94354f3 100644 --- a/miscutils/ubirename.c +++ b/miscutils/ubirename.c | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | * Licensed under GPLv2, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2, see file LICENSE in this source tree. |
| 8 | */ | 8 | */ |
| 9 | //config:config UBIRENAME | 9 | //config:config UBIRENAME |
| 10 | //config: bool "ubirename (2.4 kb)" | 10 | //config: bool "ubirename (2.7 kb)" |
| 11 | //config: default y | 11 | //config: default y |
| 12 | //config: help | 12 | //config: help |
| 13 | //config: Utility to rename UBI volumes | 13 | //config: Utility to rename UBI volumes |
diff --git a/miscutils/volname.c b/miscutils/volname.c index 027d01272..fbf87322d 100644 --- a/miscutils/volname.c +++ b/miscutils/volname.c | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | * Matthew Stoltenberg <d3matt@gmail.com> | 28 | * Matthew Stoltenberg <d3matt@gmail.com> |
| 29 | */ | 29 | */ |
| 30 | //config:config VOLNAME | 30 | //config:config VOLNAME |
| 31 | //config: bool "volname (1.6 kb)" | 31 | //config: bool "volname (1.9 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. |
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c index 9f5a4b849..db1d27b48 100644 --- a/miscutils/watchdog.c +++ b/miscutils/watchdog.c | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 10 | */ | 10 | */ |
| 11 | //config:config WATCHDOG | 11 | //config:config WATCHDOG |
| 12 | //config: bool "watchdog (5.3 kb)" | 12 | //config: bool "watchdog (5.7 kb)" |
| 13 | //config: default y | 13 | //config: default y |
| 14 | //config: help | 14 | //config: help |
| 15 | //config: The watchdog utility is used with hardware or software watchdog | 15 | //config: The watchdog utility is used with hardware or software watchdog |
