diff options
| author | Ron Yorston <rmy@pobox.com> | 2020-08-23 10:59:38 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2020-08-23 10:59:38 +0100 |
| commit | 5dbbfe22dd28c3b3ecd5763cc8e60406136e87ce (patch) | |
| tree | 64c983708f9f2a21a2fbec14a06d85057d886dfd /miscutils | |
| parent | 64ecd10486934c12336dac84c67a1939dce0e096 (diff) | |
| parent | a949399d178f7b052ada2099c62621736eafce44 (diff) | |
| download | busybox-w32-5dbbfe22dd28c3b3ecd5763cc8e60406136e87ce.tar.gz busybox-w32-5dbbfe22dd28c3b3ecd5763cc8e60406136e87ce.tar.bz2 busybox-w32-5dbbfe22dd28c3b3ecd5763cc8e60406136e87ce.zip | |
Merge branch 'busybox' into merge
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/adjtimex.c | 1 | ||||
| -rw-r--r-- | miscutils/beep.c | 1 | ||||
| -rw-r--r-- | miscutils/conspy.c | 1 | ||||
| -rw-r--r-- | miscutils/crontab.c | 6 | ||||
| -rw-r--r-- | miscutils/devfsd.c | 2 | ||||
| -rw-r--r-- | miscutils/fbsplash.c | 1 | ||||
| -rw-r--r-- | miscutils/hdparm.c | 1 | ||||
| -rw-r--r-- | miscutils/i2c_tools.c | 5 | ||||
| -rw-r--r-- | miscutils/lsscsi.c | 28 | ||||
| -rw-r--r-- | miscutils/nandwrite.c | 2 | ||||
| -rw-r--r-- | miscutils/partprobe.c | 1 | ||||
| -rw-r--r-- | miscutils/raidautorun.c | 1 | ||||
| -rw-r--r-- | miscutils/readahead.c | 1 | ||||
| -rw-r--r-- | miscutils/rfkill.c | 1 | ||||
| -rw-r--r-- | miscutils/rx.c | 1 | ||||
| -rw-r--r-- | miscutils/setserial.c | 1 | ||||
| -rw-r--r-- | miscutils/ubi_tools.c | 6 | ||||
| -rw-r--r-- | miscutils/ubirename.c | 1 | ||||
| -rw-r--r-- | miscutils/watchdog.c | 1 |
19 files changed, 17 insertions, 45 deletions
diff --git a/miscutils/adjtimex.c b/miscutils/adjtimex.c index 8ca90d58a..a9de0f9aa 100644 --- a/miscutils/adjtimex.c +++ b/miscutils/adjtimex.c | |||
| @@ -13,7 +13,6 @@ | |||
| 13 | //config:config ADJTIMEX | 13 | //config:config ADJTIMEX |
| 14 | //config: bool "adjtimex (4.7 kb)" | 14 | //config: bool "adjtimex (4.7 kb)" |
| 15 | //config: default y | 15 | //config: default y |
| 16 | //config: select PLATFORM_LINUX | ||
| 17 | //config: help | 16 | //config: help |
| 18 | //config: Adjtimex reads and optionally sets adjustment parameters for | 17 | //config: Adjtimex reads and optionally sets adjustment parameters for |
| 19 | //config: the Linux clock adjustment algorithm. | 18 | //config: the Linux clock adjustment algorithm. |
diff --git a/miscutils/beep.c b/miscutils/beep.c index 92faa1cd5..1669332fd 100644 --- a/miscutils/beep.c +++ b/miscutils/beep.c | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | //config:config BEEP | 9 | //config:config BEEP |
| 10 | //config: bool "beep (2.4 kb)" | 10 | //config: bool "beep (2.4 kb)" |
| 11 | //config: default y | 11 | //config: default y |
| 12 | //config: select PLATFORM_LINUX | ||
| 13 | //config: help | 12 | //config: help |
| 14 | //config: The beep applets beeps in a given freq/Hz. | 13 | //config: The beep applets beeps in a given freq/Hz. |
| 15 | //config: | 14 | //config: |
diff --git a/miscutils/conspy.c b/miscutils/conspy.c index a0e0d4e4b..fac11d339 100644 --- a/miscutils/conspy.c +++ b/miscutils/conspy.c | |||
| @@ -12,7 +12,6 @@ | |||
| 12 | //config:config CONSPY | 12 | //config:config CONSPY |
| 13 | //config: bool "conspy (10 kb)" | 13 | //config: bool "conspy (10 kb)" |
| 14 | //config: default y | 14 | //config: default y |
| 15 | //config: select PLATFORM_LINUX | ||
| 16 | //config: help | 15 | //config: help |
| 17 | //config: A text-mode VNC like program for Linux virtual terminals. | 16 | //config: A text-mode VNC like program for Linux virtual terminals. |
| 18 | //config: example: conspy NUM shared access to console num | 17 | //config: example: conspy NUM shared access to console num |
diff --git a/miscutils/crontab.c b/miscutils/crontab.c index c71d914fc..411a18a50 100644 --- a/miscutils/crontab.c +++ b/miscutils/crontab.c | |||
| @@ -165,8 +165,12 @@ int crontab_main(int argc UNUSED_PARAM, char **argv) | |||
| 165 | close(fd); | 165 | close(fd); |
| 166 | xlseek(src_fd, 0, SEEK_SET); | 166 | xlseek(src_fd, 0, SEEK_SET); |
| 167 | } | 167 | } |
| 168 | close_on_exec_on(src_fd); /* don't want editor to see this fd */ | 168 | close(src_fd); |
| 169 | edit_file(pas, tmp_fname); | 169 | edit_file(pas, tmp_fname); |
| 170 | /* The src_fd needs to be reopened to handle editors that do | ||
| 171 | * save the buffer as new file and rename it to tmp_fname (so | ||
| 172 | * for example vim). */ | ||
| 173 | src_fd = xopen3(tmp_fname, O_RDONLY, 0600); | ||
| 170 | /* fall through */ | 174 | /* fall through */ |
| 171 | 175 | ||
| 172 | case 0: /* Replace (no -l, -e, or -r were given) */ | 176 | case 0: /* Replace (no -l, -e, or -r were given) */ |
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index d47ee4d47..17d8fb6b9 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
| @@ -56,7 +56,6 @@ | |||
| 56 | //config:config DEVFSD | 56 | //config:config DEVFSD |
| 57 | //config: bool "devfsd (obsolete)" | 57 | //config: bool "devfsd (obsolete)" |
| 58 | //config: default n | 58 | //config: default n |
| 59 | //config: select PLATFORM_LINUX | ||
| 60 | //config: select FEATURE_SYSLOG | 59 | //config: select FEATURE_SYSLOG |
| 61 | //config: help | 60 | //config: help |
| 62 | //config: This is deprecated and should NOT be used anymore. | 61 | //config: This is deprecated and should NOT be used anymore. |
| @@ -99,7 +98,6 @@ | |||
| 99 | //config:config FEATURE_DEVFS | 98 | //config:config FEATURE_DEVFS |
| 100 | //config: bool "Use devfs names for all devices (obsolete)" | 99 | //config: bool "Use devfs names for all devices (obsolete)" |
| 101 | //config: default n | 100 | //config: default n |
| 102 | //config: select PLATFORM_LINUX | ||
| 103 | //config: help | 101 | //config: help |
| 104 | //config: This is obsolete and should NOT be used anymore. | 102 | //config: This is obsolete and should NOT be used anymore. |
| 105 | //config: Use linux >= 2.6 (optionally with hotplug) and mdev instead! | 103 | //config: Use linux >= 2.6 (optionally with hotplug) and mdev instead! |
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c index 141957809..2934d8eb7 100644 --- a/miscutils/fbsplash.c +++ b/miscutils/fbsplash.c | |||
| @@ -23,7 +23,6 @@ | |||
| 23 | //config:config FBSPLASH | 23 | //config:config FBSPLASH |
| 24 | //config: bool "fbsplash (26 kb)" | 24 | //config: bool "fbsplash (26 kb)" |
| 25 | //config: default y | 25 | //config: default y |
| 26 | //config: select PLATFORM_LINUX | ||
| 27 | //config: help | 26 | //config: help |
| 28 | //config: Shows splash image and progress bar on framebuffer device. | 27 | //config: Shows splash image and progress bar on framebuffer device. |
| 29 | //config: Can be used during boot phase of an embedded device. | 28 | //config: Can be used during boot phase of an embedded device. |
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index beabb1ad5..d25a2466e 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c | |||
| @@ -14,7 +14,6 @@ | |||
| 14 | //config:config HDPARM | 14 | //config:config HDPARM |
| 15 | //config: bool "hdparm (25 kb)" | 15 | //config: bool "hdparm (25 kb)" |
| 16 | //config: default y | 16 | //config: default y |
| 17 | //config: select PLATFORM_LINUX | ||
| 18 | //config: help | 17 | //config: help |
| 19 | //config: Get/Set hard drive parameters. Primarily intended for ATA | 18 | //config: Get/Set hard drive parameters. Primarily intended for ATA |
| 20 | //config: drives. | 19 | //config: drives. |
diff --git a/miscutils/i2c_tools.c b/miscutils/i2c_tools.c index 82a559f74..cc8b99a92 100644 --- a/miscutils/i2c_tools.c +++ b/miscutils/i2c_tools.c | |||
| @@ -11,35 +11,30 @@ | |||
| 11 | //config:config I2CGET | 11 | //config:config I2CGET |
| 12 | //config: bool "i2cget (5.5 kb)" | 12 | //config: bool "i2cget (5.5 kb)" |
| 13 | //config: default y | 13 | //config: default y |
| 14 | //config: select PLATFORM_LINUX | ||
| 15 | //config: help | 14 | //config: help |
| 16 | //config: Read from I2C/SMBus chip registers. | 15 | //config: Read from I2C/SMBus chip registers. |
| 17 | //config: | 16 | //config: |
| 18 | //config:config I2CSET | 17 | //config:config I2CSET |
| 19 | //config: bool "i2cset (6.7 kb)" | 18 | //config: bool "i2cset (6.7 kb)" |
| 20 | //config: default y | 19 | //config: default y |
| 21 | //config: select PLATFORM_LINUX | ||
| 22 | //config: help | 20 | //config: help |
| 23 | //config: Set I2C registers. | 21 | //config: Set I2C registers. |
| 24 | //config: | 22 | //config: |
| 25 | //config:config I2CDUMP | 23 | //config:config I2CDUMP |
| 26 | //config: bool "i2cdump (7.1 kb)" | 24 | //config: bool "i2cdump (7.1 kb)" |
| 27 | //config: default y | 25 | //config: default y |
| 28 | //config: select PLATFORM_LINUX | ||
| 29 | //config: help | 26 | //config: help |
| 30 | //config: Examine I2C registers. | 27 | //config: Examine I2C registers. |
| 31 | //config: | 28 | //config: |
| 32 | //config:config I2CDETECT | 29 | //config:config I2CDETECT |
| 33 | //config: bool "i2cdetect (7.1 kb)" | 30 | //config: bool "i2cdetect (7.1 kb)" |
| 34 | //config: default y | 31 | //config: default y |
| 35 | //config: select PLATFORM_LINUX | ||
| 36 | //config: help | 32 | //config: help |
| 37 | //config: Detect I2C chips. | 33 | //config: Detect I2C chips. |
| 38 | //config: | 34 | //config: |
| 39 | //config:config I2CTRANSFER | 35 | //config:config I2CTRANSFER |
| 40 | //config: bool "i2ctransfer (4.0 kb)" | 36 | //config: bool "i2ctransfer (4.0 kb)" |
| 41 | //config: default y | 37 | //config: default y |
| 42 | //config: select PLATFORM_LINUX | ||
| 43 | //config: help | 38 | //config: help |
| 44 | //config: Send user-defined I2C messages in one transfer. | 39 | //config: Send user-defined I2C messages in one transfer. |
| 45 | //config: | 40 | //config: |
diff --git a/miscutils/lsscsi.c b/miscutils/lsscsi.c index f737d33d9..8f7eda761 100644 --- a/miscutils/lsscsi.c +++ b/miscutils/lsscsi.c | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | //config:config LSSCSI | 9 | //config:config LSSCSI |
| 10 | //config: bool "lsscsi (2.5 kb)" | 10 | //config: bool "lsscsi (2.5 kb)" |
| 11 | //config: default y | 11 | //config: default y |
| 12 | //config: #select PLATFORM_LINUX | ||
| 13 | //config: help | 12 | //config: help |
| 14 | //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 |
| 15 | //config: system and devices connected to them. | 14 | //config: system and devices connected to them. |
| @@ -27,25 +26,21 @@ | |||
| 27 | 26 | ||
| 28 | static const char scsi_dir[] ALIGN1 = "/sys/bus/scsi/devices"; | 27 | static const char scsi_dir[] ALIGN1 = "/sys/bus/scsi/devices"; |
| 29 | 28 | ||
| 30 | static char *get_line(const char *filename, char *buf, unsigned *bufsize_p) | 29 | static char *get_line(const char *filename, char *buf, char *bufend) |
| 31 | { | 30 | { |
| 32 | unsigned bufsize = *bufsize_p; | 31 | ssize_t sz = bufend - buf - 2; /* -2 for two NULs */ |
| 33 | ssize_t sz; | ||
| 34 | 32 | ||
| 35 | if ((int)(bufsize - 2) <= 0) | 33 | if (sz <= 0) |
| 36 | return buf; | 34 | return buf; |
| 37 | 35 | ||
| 38 | sz = open_read_close(filename, buf, bufsize - 2); | 36 | sz = open_read_close(filename, buf, sz); |
| 39 | if (sz < 0) | 37 | if (sz < 0) |
| 40 | sz = 0; | 38 | sz = 0; |
| 41 | buf[sz] = '\0'; | 39 | buf[sz] = '\0'; |
| 42 | 40 | ||
| 43 | sz = (trim(buf) - buf) + 1; | 41 | buf = trim(buf) + 1; |
| 44 | bufsize -= sz; | ||
| 45 | buf += sz; | ||
| 46 | buf[0] = '\0'; | 42 | buf[0] = '\0'; |
| 47 | 43 | ||
| 48 | *bufsize_p = bufsize; | ||
| 49 | return buf; | 44 | return buf; |
| 50 | } | 45 | } |
| 51 | 46 | ||
| @@ -61,7 +56,6 @@ int lsscsi_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) | |||
| 61 | while ((de = readdir(dir)) != NULL) { | 56 | while ((de = readdir(dir)) != NULL) { |
| 62 | char buf[256]; | 57 | char buf[256]; |
| 63 | char *ptr; | 58 | char *ptr; |
| 64 | unsigned bufsize; | ||
| 65 | const char *vendor; | 59 | const char *vendor; |
| 66 | const char *type_str; | 60 | const char *type_str; |
| 67 | const char *type_name; | 61 | const char *type_name; |
| @@ -76,15 +70,17 @@ int lsscsi_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) | |||
| 76 | if (chdir(de->d_name) != 0) | 70 | if (chdir(de->d_name) != 0) |
| 77 | continue; | 71 | continue; |
| 78 | 72 | ||
| 79 | bufsize = sizeof(buf); | ||
| 80 | vendor = buf; | 73 | vendor = buf; |
| 81 | ptr = get_line("vendor", buf, &bufsize); | 74 | ptr = get_line("vendor", buf, buf + sizeof(buf)); |
| 75 | |||
| 82 | type_str = ptr; | 76 | type_str = ptr; |
| 83 | ptr = get_line("type", ptr, &bufsize); | 77 | ptr = get_line("type", ptr, buf + sizeof(buf)); |
| 78 | |||
| 84 | model = ptr; | 79 | model = ptr; |
| 85 | ptr = get_line("model", ptr, &bufsize); | 80 | ptr = get_line("model", ptr, buf + sizeof(buf)); |
| 81 | |||
| 86 | rev = ptr; | 82 | rev = ptr; |
| 87 | ptr = get_line("rev", ptr, &bufsize); | 83 | /*ptr =*/ get_line("rev", ptr, buf + sizeof(buf)); |
| 88 | 84 | ||
| 89 | printf("[%s]\t", de->d_name); | 85 | printf("[%s]\t", de->d_name); |
| 90 | 86 | ||
diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c index f111c6363..52bf49434 100644 --- a/miscutils/nandwrite.c +++ b/miscutils/nandwrite.c | |||
| @@ -10,14 +10,12 @@ | |||
| 10 | //config:config NANDWRITE | 10 | //config:config NANDWRITE |
| 11 | //config: bool "nandwrite (4.8 kb)" | 11 | //config: bool "nandwrite (4.8 kb)" |
| 12 | //config: default y | 12 | //config: default y |
| 13 | //config: select PLATFORM_LINUX | ||
| 14 | //config: help | 13 | //config: help |
| 15 | //config: Write to the specified MTD device, with bad blocks awareness | 14 | //config: Write to the specified MTD device, with bad blocks awareness |
| 16 | //config: | 15 | //config: |
| 17 | //config:config NANDDUMP | 16 | //config:config NANDDUMP |
| 18 | //config: bool "nanddump (5.2 kb)" | 17 | //config: bool "nanddump (5.2 kb)" |
| 19 | //config: default y | 18 | //config: default y |
| 20 | //config: select PLATFORM_LINUX | ||
| 21 | //config: help | 19 | //config: help |
| 22 | //config: Dump the content of raw NAND chip | 20 | //config: Dump the content of raw NAND chip |
| 23 | 21 | ||
diff --git a/miscutils/partprobe.c b/miscutils/partprobe.c index 0abed6ff1..0fb1927b7 100644 --- a/miscutils/partprobe.c +++ b/miscutils/partprobe.c | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | //config:config PARTPROBE | 7 | //config:config PARTPROBE |
| 8 | //config: bool "partprobe (3.5 kb)" | 8 | //config: bool "partprobe (3.5 kb)" |
| 9 | //config: default y | 9 | //config: default y |
| 10 | //config: select PLATFORM_LINUX | ||
| 11 | //config: help | 10 | //config: help |
| 12 | //config: Ask kernel to rescan partition table. | 11 | //config: Ask kernel to rescan partition table. |
| 13 | 12 | ||
diff --git a/miscutils/raidautorun.c b/miscutils/raidautorun.c index 39816ab1f..905862cf7 100644 --- a/miscutils/raidautorun.c +++ b/miscutils/raidautorun.c | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | //config:config RAIDAUTORUN | 9 | //config:config RAIDAUTORUN |
| 10 | //config: bool "raidautorun (1.3 kb)" | 10 | //config: bool "raidautorun (1.3 kb)" |
| 11 | //config: default y | 11 | //config: default y |
| 12 | //config: select PLATFORM_LINUX | ||
| 13 | //config: help | 12 | //config: help |
| 14 | //config: raidautorun tells the kernel md driver to | 13 | //config: raidautorun tells the kernel md driver to |
| 15 | //config: search and start RAID arrays. | 14 | //config: search and start RAID arrays. |
diff --git a/miscutils/readahead.c b/miscutils/readahead.c index cc0ba5ba3..d2bed2092 100644 --- a/miscutils/readahead.c +++ b/miscutils/readahead.c | |||
| @@ -13,7 +13,6 @@ | |||
| 13 | //config: bool "readahead (1.5 kb)" | 13 | //config: bool "readahead (1.5 kb)" |
| 14 | //config: default y | 14 | //config: default y |
| 15 | //config: depends on LFS | 15 | //config: depends on LFS |
| 16 | //config: select PLATFORM_LINUX | ||
| 17 | //config: help | 16 | //config: help |
| 18 | //config: Preload the files listed on the command line into RAM cache so that | 17 | //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. | 18 | //config: subsequent reads on these files will not block on disk I/O. |
diff --git a/miscutils/rfkill.c b/miscutils/rfkill.c index db7c83750..9d91ea82f 100644 --- a/miscutils/rfkill.c +++ b/miscutils/rfkill.c | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | //config:config RFKILL | 9 | //config:config RFKILL |
| 10 | //config: bool "rfkill (4.4 kb)" | 10 | //config: bool "rfkill (4.4 kb)" |
| 11 | //config: default n # doesn't build on Ubuntu 9.04 | 11 | //config: default n # doesn't build on Ubuntu 9.04 |
| 12 | //config: select PLATFORM_LINUX | ||
| 13 | //config: help | 12 | //config: help |
| 14 | //config: Enable/disable wireless devices. | 13 | //config: Enable/disable wireless devices. |
| 15 | //config: | 14 | //config: |
diff --git a/miscutils/rx.c b/miscutils/rx.c index 319ec1d49..d8b041480 100644 --- a/miscutils/rx.c +++ b/miscutils/rx.c | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | //config:config RX | 17 | //config:config RX |
| 18 | //config: bool "rx (2.9 kb)" | 18 | //config: bool "rx (2.9 kb)" |
| 19 | //config: default y | 19 | //config: default y |
| 20 | //config: select PLATFORM_LINUX | ||
| 21 | //config: help | 20 | //config: help |
| 22 | //config: Receive files using the Xmodem protocol. | 21 | //config: Receive files using the Xmodem protocol. |
| 23 | 22 | ||
diff --git a/miscutils/setserial.c b/miscutils/setserial.c index 71b274568..1e75bf433 100644 --- a/miscutils/setserial.c +++ b/miscutils/setserial.c | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | //config:config SETSERIAL | 10 | //config:config SETSERIAL |
| 11 | //config: bool "setserial (6.9 kb)" | 11 | //config: bool "setserial (6.9 kb)" |
| 12 | //config: default y | 12 | //config: default y |
| 13 | //config: select PLATFORM_LINUX | ||
| 14 | //config: help | 13 | //config: help |
| 15 | //config: Retrieve or set Linux serial port. | 14 | //config: Retrieve or set Linux serial port. |
| 16 | 15 | ||
diff --git a/miscutils/ubi_tools.c b/miscutils/ubi_tools.c index 8318df0f9..94a637eee 100644 --- a/miscutils/ubi_tools.c +++ b/miscutils/ubi_tools.c | |||
| @@ -6,42 +6,36 @@ | |||
| 6 | //config:config UBIATTACH | 6 | //config:config UBIATTACH |
| 7 | //config: bool "ubiattach (4.2 kb)" | 7 | //config: bool "ubiattach (4.2 kb)" |
| 8 | //config: default y | 8 | //config: default y |
| 9 | //config: select PLATFORM_LINUX | ||
| 10 | //config: help | 9 | //config: help |
| 11 | //config: Attach MTD device to an UBI device. | 10 | //config: Attach MTD device to an UBI device. |
| 12 | //config: | 11 | //config: |
| 13 | //config:config UBIDETACH | 12 | //config:config UBIDETACH |
| 14 | //config: bool "ubidetach (4.1 kb)" | 13 | //config: bool "ubidetach (4.1 kb)" |
| 15 | //config: default y | 14 | //config: default y |
| 16 | //config: select PLATFORM_LINUX | ||
| 17 | //config: help | 15 | //config: help |
| 18 | //config: Detach MTD device from an UBI device. | 16 | //config: Detach MTD device from an UBI device. |
| 19 | //config: | 17 | //config: |
| 20 | //config:config UBIMKVOL | 18 | //config:config UBIMKVOL |
| 21 | //config: bool "ubimkvol (5.3 kb)" | 19 | //config: bool "ubimkvol (5.3 kb)" |
| 22 | //config: default y | 20 | //config: default y |
| 23 | //config: select PLATFORM_LINUX | ||
| 24 | //config: help | 21 | //config: help |
| 25 | //config: Create a UBI volume. | 22 | //config: Create a UBI volume. |
| 26 | //config: | 23 | //config: |
| 27 | //config:config UBIRMVOL | 24 | //config:config UBIRMVOL |
| 28 | //config: bool "ubirmvol (4.9 kb)" | 25 | //config: bool "ubirmvol (4.9 kb)" |
| 29 | //config: default y | 26 | //config: default y |
| 30 | //config: select PLATFORM_LINUX | ||
| 31 | //config: help | 27 | //config: help |
| 32 | //config: Delete a UBI volume. | 28 | //config: Delete a UBI volume. |
| 33 | //config: | 29 | //config: |
| 34 | //config:config UBIRSVOL | 30 | //config:config UBIRSVOL |
| 35 | //config: bool "ubirsvol (4.2 kb)" | 31 | //config: bool "ubirsvol (4.2 kb)" |
| 36 | //config: default y | 32 | //config: default y |
| 37 | //config: select PLATFORM_LINUX | ||
| 38 | //config: help | 33 | //config: help |
| 39 | //config: Resize a UBI volume. | 34 | //config: Resize a UBI volume. |
| 40 | //config: | 35 | //config: |
| 41 | //config:config UBIUPDATEVOL | 36 | //config:config UBIUPDATEVOL |
| 42 | //config: bool "ubiupdatevol (5.2 kb)" | 37 | //config: bool "ubiupdatevol (5.2 kb)" |
| 43 | //config: default y | 38 | //config: default y |
| 44 | //config: select PLATFORM_LINUX | ||
| 45 | //config: help | 39 | //config: help |
| 46 | //config: Update a UBI volume. | 40 | //config: Update a UBI volume. |
| 47 | 41 | ||
diff --git a/miscutils/ubirename.c b/miscutils/ubirename.c index e7c56640c..06a0adacf 100644 --- a/miscutils/ubirename.c +++ b/miscutils/ubirename.c | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | //config:config UBIRENAME | 9 | //config:config UBIRENAME |
| 10 | //config: bool "ubirename (2.4 kb)" | 10 | //config: bool "ubirename (2.4 kb)" |
| 11 | //config: default y | 11 | //config: default y |
| 12 | //config: select PLATFORM_LINUX | ||
| 13 | //config: help | 12 | //config: help |
| 14 | //config: Utility to rename UBI volumes | 13 | //config: Utility to rename UBI volumes |
| 15 | 14 | ||
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c index 86600b72f..8c8d7217f 100644 --- a/miscutils/watchdog.c +++ b/miscutils/watchdog.c | |||
| @@ -11,7 +11,6 @@ | |||
| 11 | //config:config WATCHDOG | 11 | //config:config WATCHDOG |
| 12 | //config: bool "watchdog (5.3 kb)" | 12 | //config: bool "watchdog (5.3 kb)" |
| 13 | //config: default y | 13 | //config: default y |
| 14 | //config: select PLATFORM_LINUX | ||
| 15 | //config: help | 14 | //config: help |
| 16 | //config: The watchdog utility is used with hardware or software watchdog | 15 | //config: The watchdog utility is used with hardware or software watchdog |
| 17 | //config: device drivers. It opens the specified watchdog device special file | 16 | //config: device drivers. It opens the specified watchdog device special file |
