Added a more colorful MOTD and startup message

This commit is contained in:
Logan G 2024-01-27 19:56:34 -07:00
parent 340700ac61
commit b770e0b19d
Signed by: logan
GPG key ID: E328528C921E7A7A
3 changed files with 13 additions and 6 deletions

View file

@ -1,6 +1 @@
Welcome to Solarity Liveboot!
Default password for the solarity account is `solarity`
Type `labwc` to launch a GUI.
Welcome to Solarity Liveboot(B!(B

View file

@ -0,0 +1,11 @@
#!/bin/bash
if [[ "$(tty)" == "/dev/tty"* ]]; then
echo -e -n \
"$(tput bold)
The default password for the $(tput setaf 4)solarity$(tput setaf 7) user is $(tput setaf 6)solarity$(tput sgr0)$(tput bold).
Type $(tput setaf 5)labwc$(tput sgr0)$(tput bold) to launch a GUI.
\n"
fi
echo -e -n $(tput sgr0)

View file

@ -26,4 +26,5 @@ file_permissions=(
["/usr/local/bin/Installation_guide"]="0:0:755"
["/usr/local/bin/livecd-sound"]="0:0:755"
["/usr/local/bin/import-gsettings"]="0:0:755"
["/etc/profile.d/99-greeting.sh"]="0:0:755"
)