diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-26 13:32:30 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-26 13:32:30 +0000 |
commit | 08ec67bc62242503f77d9503fdbf820c9c12d856 (patch) | |
tree | 101a86c0fe86a07f786670ceca36bfcbdc2794ed /miscutils | |
parent | cc2965fd236a85e5cac4fffa1c34057997780385 (diff) | |
download | busybox-w32-08ec67bc62242503f77d9503fdbf820c9c12d856.tar.gz busybox-w32-08ec67bc62242503f77d9503fdbf820c9c12d856.tar.bz2 busybox-w32-08ec67bc62242503f77d9503fdbf820c9c12d856.zip |
patch: add support for -R. ~ +110 byte. By Pascal Bellard <pascal.bellard AT ads-lu.com>
fbsplash: new applet by Michele Sanges <michele.sanges AT otomelara.it
function old new delta
fbsplash_main - 1525 +1525
fb_drawfullrectangle - 118 +118
static.param_value - 100 +100
packed_usage 23776 23872 +96
applet_names 1843 1852 +9
applet_main 1120 1124 +4
read_line_input 3156 3158 +2
applet_nameofs 560 562 +2
applet_install_loc 140 141 +1
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 6/0 up/down: 1857/0) Total: 1857 bytes
text data bss dec hex filename
799233 641 7380 807254 c5156 busybox_old
801202 641 7380 809223 c5907 busybox_unstripped
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/Config.in | 33 | ||||
-rw-r--r-- | miscutils/Kbuild | 1 |
2 files changed, 28 insertions, 6 deletions
diff --git a/miscutils/Config.in b/miscutils/Config.in index e149e41c9..04c9a0c54 100644 --- a/miscutils/Config.in +++ b/miscutils/Config.in | |||
@@ -194,12 +194,33 @@ config EJECT | |||
194 | Used to eject cdroms. (defaults to /dev/cdrom) | 194 | Used to eject cdroms. (defaults to /dev/cdrom) |
195 | 195 | ||
196 | config FEATURE_EJECT_SCSI | 196 | config FEATURE_EJECT_SCSI |
197 | bool "SCSI support" | 197 | bool "SCSI support" |
198 | default n | 198 | default n |
199 | depends on EJECT | 199 | depends on EJECT |
200 | help | 200 | help |
201 | Add the -s option to eject, this allows to eject SCSI-Devices and | 201 | Add the -s option to eject, this allows to eject SCSI-Devices and |
202 | usb-storage devices. | 202 | usb-storage devices. |
203 | |||
204 | config FBSPLASH | ||
205 | bool "fbsplash" | ||
206 | default n | ||
207 | help | ||
208 | Shows splash image and progress bar on framebuffer device. | ||
209 | Can be used during boot phase of an embedded device. ~2kb. | ||
210 | Usage: | ||
211 | - use kernel option 'vga=xxx' or otherwise enable fb device. | ||
212 | - put somewhere the fbsplash.ini file and image in .ppm format. | ||
213 | - $ setsid fbsplash [params] & | ||
214 | -c: hide cursor | ||
215 | -d /dev/fbN: framebuffer device (if not /dev/fb0) | ||
216 | -s path_of_image_file | ||
217 | -i path_of_ini_file | ||
218 | -f path_of_fifo (can be "-" for stdin) | ||
219 | - if you want to run applet only in presence of kernel parameter: | ||
220 | grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] & | ||
221 | - commands for fifo: | ||
222 | "NN" (ASCII decimal number) - percentage to show on progress bar | ||
223 | "exit" (or just close fifo) - well you guessed it | ||
203 | 224 | ||
204 | config LAST | 225 | config LAST |
205 | bool "last" | 226 | bool "last" |
diff --git a/miscutils/Kbuild b/miscutils/Kbuild index 51187c556..513c03882 100644 --- a/miscutils/Kbuild +++ b/miscutils/Kbuild | |||
@@ -14,6 +14,7 @@ lib-$(CONFIG_CRONTAB) += crontab.o | |||
14 | lib-$(CONFIG_DC) += dc.o | 14 | lib-$(CONFIG_DC) += dc.o |
15 | lib-$(CONFIG_DEVFSD) += devfsd.o | 15 | lib-$(CONFIG_DEVFSD) += devfsd.o |
16 | lib-$(CONFIG_EJECT) += eject.o | 16 | lib-$(CONFIG_EJECT) += eject.o |
17 | lib-$(CONFIG_FBSPLASH) += fbsplash.o | ||
17 | lib-$(CONFIG_HDPARM) += hdparm.o | 18 | lib-$(CONFIG_HDPARM) += hdparm.o |
18 | lib-$(CONFIG_LAST) += last.o | 19 | lib-$(CONFIG_LAST) += last.o |
19 | lib-$(CONFIG_LESS) += less.o | 20 | lib-$(CONFIG_LESS) += less.o |