diff options
-rw-r--r-- | rc.lib | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -7,9 +7,9 @@ # Functions for rc.boot and rc.shutdown -out() { printf "\033[1;36m->\033[0;00m\033[1m $1\033[0;00m\n" ;} -error() { printf "\033[1;31m-> ERROR: \033[0;00m\033[1m $1\033[0;00m\n" ;} -welcome() { printf '\033[1;36m->\033[m\033[1m Welcome to\033[35m Carbs Linux\033[m\033[1m!\n' ;} +out() { printf '\033[1;36m-> \033[m\033[1m%s\033[m\n' "$@" ;} +error() { printf '\033[1;31m!> ERROR: \033[m\033[1m%s\033[m\n' "$@" >&2 ;} +welcome() { printf '\033[1;36m->\033[m\033[1m Welcome to\033[35m %s\033[m\033[1m!\n' "Carbs $(uname -sr)" ;} mnt() { mountpoint -q "$1" || { |