usplash_write
Section: Maintenance Commands (8)Updated: February 2007
Index Return to Main Contents
NAME
usplash_write - send commands to a running usplash daemonSYNOPSIS
usplash_write COMMAND...DESCRIPTION
Sends the given commands to a running usplash daemon. If no daemon is running, usplash_write returns without doing anything.COMMANDS
- QUIT
- Instructs the daemon to terminate, restoring the console that was previously active.
- TIMEOUT secs
- Changes the number of seconds to wait for a command before exiting to that given. If zero is given it will wait forever.
- CLEAR
- Clears any text currently displayed.
- TEXT text
- Displays the given text in the area on the screen reserved for that, scrolling any existing text up.
- TEXT-URGENT text
- Displays the given text in the same way as TEXT above even if messages would normally be hidden due to the verbosity setting in effect.
- STATUS status
- Displays the given status string to the right of the last line of text in the same colour.
- SUCCESS status
- Displays the given status string to the right of the last line of text in a colour used to indicate success.
- FAILURE status
- Displays the given status string to the right of the last line of text in a colour used to indicate failure.
- PROGRESS percentage
- Update the progress bar to show that the given percentage (0-100) of the process has been completed.
- PULSATE
- Set the progress bar to display a throbber (an indicator bouncing from left to right and back again).
- INPUT prompt
- Displays the given prompt and waits for one line of user input. The line can then be read from /dev/.initramfs/usplash_outfifo within the timeout period.
- INPUTQUIET prompt
- Works in the same way as INPUT above with the exception that the user input is not echoed to the console. Useful for password prompts.
- INPUTENTER prompt
- Works in the same way as INPUT above with the exception that nothing is echoed to the console. Useful for "Press enter to reboot".
EXIT STATUS
usplash_write always returns an exit status of zero.AUTHOR
Written by Matthew Garrett <mjg59@srcf.ucam.org>REPORTING BUGS
Report bugs athttp://launchpad.net/distros/ubuntu/+source/usplash/+filebug
COPYRIGHT
Copyright © 2006 Canonical Ltd.Copyright © 2005 Matthew Garrett <mjg59@srcf.ucam.org>
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
usplash(8)
Index
This document was created by man2html, using the manual pages.
Time: 22:15:51 GMT, February 02, 2008