From 973c1b65ad9fb92c6a0e017a7b8bfb40c38b3bcd Mon Sep 17 00:00:00 2001 From: Roman Kyrylych Date: Sat, 8 Mar 2008 19:28:08 +0200 Subject: Fix indentation in rc.d/functions Signed-off-by: Roman Kyrylych --- functions | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'functions') diff --git a/functions b/functions index 79bd98d..38c633c 100644 --- a/functions +++ b/functions @@ -21,7 +21,7 @@ STAT_COL=$(($STAT_COL - 13)) # disable colors on broken terminals TERM_COLORS="$(tput colors 2>/dev/null)" if [ $? = 3 ]; then - TERM_COLORS=8 + TERM_COLORS=8 elif [ -n "${TERM_COLORS}" ]; then case "${TERM_COLORS}" in *[!0-9]*) @@ -38,18 +38,18 @@ unset TERM_COLORS # colors: if [ "$USECOLOR" = "YES" -o "$USECOLOR" = "yes" ]; then - C_MAIN="\033[1;37;40m" # main text - C_OTHER="\033[1;34;40m" # prefix & brackets - C_SEPARATOR="\033[1;30;40m" # separator - - C_BUSY="\033[0;36;40m" # busy - C_FAIL="\033[1;31;40m" # failed - C_DONE="\033[1;37;40m" # completed - C_BKGD="\033[1;35;40m" # backgrounded - - C_H1="\033[1;37;40m" # highlight text 1 - C_H2="\033[1;36;40m" # highlight text 2 - + C_MAIN="\033[1;37;40m" # main text + C_OTHER="\033[1;34;40m" # prefix & brackets + C_SEPARATOR="\033[1;30;40m" # separator + + C_BUSY="\033[0;36;40m" # busy + C_FAIL="\033[1;31;40m" # failed + C_DONE="\033[1;37;40m" # completed + C_BKGD="\033[1;35;40m" # backgrounded + + C_H1="\033[1;37;40m" # highlight text 1 + C_H2="\033[1;36;40m" # highlight text 2 + C_CLEAR="\033[1;0m" fi @@ -144,11 +144,11 @@ ck_daemon() { } source_functions() { - if [ -d /etc/rc.d/functions.d/ ]; then - for f in $(ls /etc/rc.d/functions.d/); do - . /etc/rc.d/functions.d/$f - done - fi + if [ -d /etc/rc.d/functions.d/ ]; then + for f in $(ls /etc/rc.d/functions.d/); do + . /etc/rc.d/functions.d/$f + done + fi } # End of file -- cgit v1.2.3