commit a783d93756d72cd3e31d3ef260a1dad0130ab967
parent 1f572a5c70e5a7552b37f88d555dd03003929647
Author: Cem Keylan <cem@ckyln.com>
Date: Sat, 16 May 2020 04:23:06 +0300
rc.boot: remove welcome message from lib
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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
@@ -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" \