From a783d93756d72cd3e31d3ef260a1dad0130ab967 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 16 May 2020 04:23:06 +0300 Subject: rc.boot: remove welcome message from lib --- rc.boot | 3 ++- rc.lib | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rc.boot b/rc.boot index cd90881..1e9aded 100755 --- a/rc.boot +++ b/rc.boot @@ -18,7 +18,8 @@ mnt() { # Manually set path PATH=$PATH:/usr/bin:/usr/local/bin -welcome +# Display a pretty welcome message +printf '\033[1;36m-> \033[39mWelcome to \033[35mCarbs %s\033[39m!\033[m\n' "$(uname -s)" out "Mounting pseudo filesystems..."; { mnt /proc -o nosuid,noexec,nodev -t proc proc diff --git a/rc.lib b/rc.lib index df35731..a9fde9d 100644 --- a/rc.lib +++ b/rc.lib @@ -9,7 +9,6 @@ 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)" ;} emergency_shell() { error "Cannot continue init due to errors above, starting emergency shell" \ -- cgit v1.2.3