fbsplash: support this usage:

mkfifo cmd_pipe
fbsplash -f cmd_pipe .... &
...
echo 33 >cmd_pipe
...
echo 66 >cmd_pipe

Code size: fbsplash_main +116 bytes :(
This commit is contained in:
Denis Vlasenko
2008-03-27 13:14:29 +00:00
parent 11b9f26610
commit 72b3442aeb
3 changed files with 32 additions and 13 deletions

View File

@@ -214,13 +214,13 @@ config FBSPLASH
-c: hide cursor
-d /dev/fbN: framebuffer device (if not /dev/fb0)
-s path_to_image_file (can be "-" for stdin)
-i path_to_cfg_file
-i path_to_cfg_file (can be "-" for stdin)
-f path_to_fifo (can be "-" for stdin)
- if you want to run it only in presence of kernel parameter:
grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
- commands for fifo:
"NN" (ASCII decimal number) - percentage to show on progress bar
"exit" (or just close fifo) - well you guessed it
"exit" - well you guessed it
config LAST
bool "last"