diff options
-rw-r--r-- | rc.lib | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -1,15 +1,10 @@ # rc.lib -- common functions for rc.boot and rc.shutdown -# shellcheck disable=1090 -# Functions for rc.boot and rc.shutdown - -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 ;} +out() { printf '\033[1;36m-> \033[39m%s\033[m\n' "$@" ;} +err() { printf '\033[1;31m!> \033[39m%s\033[m\n' "$@" ;} shell() { error "Dropping to shell, type 'exit' to continue the boot process." sh -l } - -} |