3 if [ "$USE_COLOR" = '1' ] && [ -x /usr/bin/tput ]; then
14 printf "[ ] Starting $1"
22 printf "[ ] Stopping $1"
26 printf "\r[ ${green}OK${off} ]\n"
30 printf "\r[${red}FAILED${off}]\n"
34 test $? -eq 0 && status_ok || status_fail
38 [ "$1" = "1" ] || [ "$1" = "yes" ] || [ "$1" = "true" ] || [ "$1" = "y" ] ||