From 847905a6937ad11a2df5c865fb5649417ae59104 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 28 Jan 2023 09:26:35 +0100 Subject: [PATCH] rewording MOTD and title --- usr/lib/archboot/update-installer/update-installer.sh | 4 ++-- usr/lib/initcpio/install/archboot_motd | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/usr/lib/archboot/update-installer/update-installer.sh b/usr/lib/archboot/update-installer/update-installer.sh index 9eba8fd59..75951a6e7 100644 --- a/usr/lib/archboot/update-installer/update-installer.sh +++ b/usr/lib/archboot/update-installer/update-installer.sh @@ -29,8 +29,8 @@ _graphic_options() { } usage () { - echo -e "\033[1mUpdate And Manage \033[36mArchboot\033[0m\033[1m - Arch Linux Environment:\033[0m" - echo -e "\033[1m----------------------------------------------------\033[0m" + echo -e "\033[1mManage \033[36mArchboot\033[0m\033[1m - Arch Linux Environment:\033[0m" + echo -e "\033[1m-----------------------------------------\033[0m" echo -e " \033[1m-help\033[0m This message." if [[ ! -e "/var/cache/pacman/pkg/archboot.db" || -e "/usr/bin/setup" ]]; then echo -e " \033[1m-update\033[0m Update scripts: setup, quickinst, tz, km and helpers." diff --git a/usr/lib/initcpio/install/archboot_motd b/usr/lib/initcpio/install/archboot_motd index eb4eaf824..827df8281 100644 --- a/usr/lib/initcpio/install/archboot_motd +++ b/usr/lib/initcpio/install/archboot_motd @@ -6,11 +6,11 @@ build () { ### generate motd MOTD=$(mktemp /var/tmp/motd.XXXX) - [[ "$(uname -m)" == "x86_64" ]] && echo -e "\033[1mWelcome to \033[36mArchboot\033[0m\033[1m - Arch Linux X86-64\033[0m" >> "${MOTD}" + [[ "$(uname -m)" == "x86_64" ]] && echo -e "\033[1mWelcome to \033[36mArchboot\033[0m\033[1m - Arch Linux X86_64\033[0m" >> "${MOTD}" [[ "$(uname -m)" == "aarch64" ]] && echo -e "\033[1mWelcome to \033[36mArchboot\033[0m\033[1m - Arch Linux AARCH64\033[0m" >> "${MOTD}" [[ "$(uname -m)" == "riscv64" ]] && echo -e "\033[1mWelcome to \033[36mArchboot\033[0m\033[1m - Arch Linux RISCV64\033[0m" >> "${MOTD}" #shellcheck disable=SC2129 - echo -e "\033[1m--------------------------------------------\033[0m" >> "${MOTD}" + echo -e "\033[1m----------------------------------------\033[0m" >> "${MOTD}" echo -e "\033[1mConsoles:\033[0m" >> "${MOTD}" echo -e " - Virtual consoles \033[1m1-6\033[0m are active." >> "${MOTD}" echo -e " - To change virtual console use \033[1m\033[92mALT + F(1-6)\033[0m" >> "${MOTD}" @@ -30,8 +30,8 @@ if echo "${HOOKS[@]}" | grep -qw archboot_net; then echo -e " - Use the \033[1m\033[92m'weechat'\033[0m IRC client." >> "${MOTD}" fi if echo "${HOOKS[@]}" | grep -qw archboot_installer; then - echo -e "\033[1mManage Archboot:\033[0m" >> "${MOTD}" - echo -e " - Run \033[1m\033[92m'update-installer'\033[0m to manage the Archboot environment." >> "${MOTD}" + echo -e "\033[1mManage Archboot Environment:\033[0m" >> "${MOTD}" + echo -e " - Run \033[1m\033[92m'update-installer'\033[0m to manage the Archboot Environment." >> "${MOTD}" #shellcheck disable=SC2129 echo -e "\033[1mInstallation:\033[0m" >> "${MOTD}" echo -e " - On first login \033[92m'setup'\033[0m is launched automatically." >> "${MOTD}"