The
LSB functions in
Debian can do fancy and non-fancy output. However, the output is not really fance compared to grml, gentoo and Ubuntu. They have these nice, colored ok or fail messages in brackets

If you are like me and you always want to have the coolest bling bling

Try this patch:
--- init-functions 2007-01-21 04:54:18.000000000 +0100
+++ /lib/lsb/init-functions 2007-04-15 21:24:55.000000000 +0200
@@ -247,12 +247,18 @@ log_end_msg () {
# Only do the fancy stuff if we have an appropriate terminal
# and if /usr is already mounted
if log_use_fancy_output; then
- RED=`$TPUT setaf 1`
- NORMAL=`$TPUT op`
+ COLS=$($TPUT cols)
+ COL=$(($COLS-8))
+ UP=$($TPUT cuu1)
+ END=$($TPUT hpa $COL)
+ START=$($TPUT hpa 0)
+ RED=$($TPUT setaf 1)
+ NORMAL=$($TPUT op)
+ GREEN=$($TPUT setaf 2)
if [ $1 -eq 0 ]; then
- echo "."
+ echo "$UP$END[ ${GREEN}ok${NORMAL} ]"
else
- /bin/echo -e " ${RED}failed!${NORMAL}"
+ /bin/echo -e "$UP$START $RED*$NORMAL$END[ ${RED}fail${NORMAL} ]"
fi
else
if [ $1 -eq 0 ]; then
Of course this only works for init scripts including and using the lsb functions (should be most of them).