aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-16 04:23:06 +0300
committerCem Keylan <cem@ckyln.com>2020-05-16 04:23:06 +0300
commita783d93756d72cd3e31d3ef260a1dad0130ab967 (patch)
tree9a33368550f17178b8ed2b5d0676b48f6a365da2
parent1f572a5c70e5a7552b37f88d555dd03003929647 (diff)
downloadinit-a783d93756d72cd3e31d3ef260a1dad0130ab967.tar.gz
rc.boot: remove welcome message from lib
-rwxr-xr-xrc.boot3
-rw-r--r--rc.lib1
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" \