aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorRoman Kyrylych <roman@archlinux.org>2008-03-08 19:28:08 +0200
committerRoman Kyrylych <roman@archlinux.org>2008-03-08 19:28:08 +0200
commit973c1b65ad9fb92c6a0e017a7b8bfb40c38b3bcd (patch)
tree09fec7ae1d3c1cf2d45abd8f47f6aafa1ef849b0 /functions
parent646862aa989d82c35d267d5771c6cc620275bf4c (diff)
downloadinitscripts-973c1b65ad9fb92c6a0e017a7b8bfb40c38b3bcd.tar.xz
Fix indentation in rc.d/functions
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Diffstat (limited to 'functions')
-rw-r--r--functions36
1 files changed, 18 insertions, 18 deletions
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