mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Adapted realm and global styling
This commit is contained in:
@@ -16,8 +16,12 @@ HOSTNAME_COLOR="\033[1;4;5;32m"
|
||||
|
||||
clear
|
||||
|
||||
# Primary IP (determined via default route)
|
||||
PRIMARY_IP=$(ip route get 8.8.8.8 2>/dev/null | awk '{print $7}' | head -n1)
|
||||
|
||||
# Print welcome message
|
||||
echo -e "${HEADER_COLOR}Welcome, $USER on ${HOSTNAME_COLOR}$HOSTNAME!${RESET_COLOR}"
|
||||
echo -e "Primary IP Address: ${PRIMARY_IP}"
|
||||
echo -e "${HEADER_COLOR}Today is $(date +"%A, %d.%m.%Y %T")${RESET_COLOR}"
|
||||
echo -e "\033[94mPowered by: CyMaIS - Cyber Master Infrastructure Solutions!"
|
||||
echo -e "\033[1;31mWARNING: This software is not to be used for generating commercial profits.\033[94m"
|
||||
|
Reference in New Issue
Block a user