blob: ada2a96dd419b2d2f6395ae3624e323b742cb770 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001status() {
2 if type splash-write >/dev/null 2>&1; then
3 (TMPDIR="/mnt/.splash" EXQUISITE_IPC="$TMPDIR/exquisite" splash-write "$1" || true) &
4 fi
5}
6
7status_position() {
8 status "PROGRESS $1"
9}
10
11status_title() {
12 status "TITLE $1"
13}
14
15status_text() {
16 if test -n "$1"; then
17 status "MSG $1"
18 else
19 status "CLEAR"
20 fi
21}
22
23status_pulse() {
24 status "PULSATE"
25}
26
27status_tick() {
28 status "TICK"
29}