Added a more colorful MOTD and startup message
This commit is contained in:
parent
340700ac61
commit
b770e0b19d
3 changed files with 13 additions and 6 deletions
|
@ -1,6 +1 @@
|
||||||
Welcome to Solarity Liveboot!
|
[1mWelcome to [32mSolarity Liveboot(B[m[1m!(B[m
|
||||||
|
|
||||||
Default password for the solarity account is `solarity`
|
|
||||||
|
|
||||||
Type `labwc` to launch a GUI.
|
|
||||||
|
|
||||||
|
|
11
airootfs/etc/profile.d/99-greeting.sh
Executable file
11
airootfs/etc/profile.d/99-greeting.sh
Executable 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)
|
|
@ -26,4 +26,5 @@ file_permissions=(
|
||||||
["/usr/local/bin/Installation_guide"]="0:0:755"
|
["/usr/local/bin/Installation_guide"]="0:0:755"
|
||||||
["/usr/local/bin/livecd-sound"]="0:0:755"
|
["/usr/local/bin/livecd-sound"]="0:0:755"
|
||||||
["/usr/local/bin/import-gsettings"]="0:0:755"
|
["/usr/local/bin/import-gsettings"]="0:0:755"
|
||||||
|
["/etc/profile.d/99-greeting.sh"]="0:0:755"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue