diff options
author | Cem Keylan <cem@ckyln.com> | 2020-03-02 13:36:51 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-03-02 13:36:51 +0300 |
commit | 5931703182196344b0a13059b6959e628278164a (patch) | |
tree | 1ede4434dfabde12a418e5f85d0d1e3085cdf008 | |
parent | 633608ead6cd30f416050c121ae06f3500367603 (diff) | |
download | init-5931703182196344b0a13059b6959e628278164a.tar.gz |
change message functions
-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" || { |