blob: 07003c89c6e44721928588905b90869e132c3f89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Use initscripts output formatting.
# This hook must be loaded after 'fancy'.
[[ ${FANCY_NORMAL+x} = x && -f /etc/rc.d/functions ]] || return
. /etc/rc.conf
. /etc/rc.d/functions
function report_try {
stat_busy "$*"
REPORT_TRYING=1
}
function report_append {
stat_append "- $*"
}
function report_failed {
stat_fail
}
function report_done {
stat_done
}
FANCY_NORMAL=$C_CLEAR
FANCY_HIGHLIGHT=$C_H1
FANCY_FAILED=$C_FAIL
FANCY_DONE=$C_DONE
FANCY_OTHER=$C_OTHER
PREFIX_ATTENTION=$PREFIX_HL
# vim: ft=sh ts=4 et sw=4:
|