add Q4OS logo and detection

This commit is contained in:
alexcoder04 2021-11-30 14:23:34 +01:00
parent c4fba8bb0b
commit d3af666f21

View file

@ -993,6 +993,12 @@ get_distro() {
*) distro="Siduction ($(lsb_release -sic))"
esac
elif [[ -f /etc/q4os_version ]]; then
case $distro_shorthand in
on|tiny) distro="Q4OS" ;;
*) distro="Q4OS $(cat /etc/q4os_version)"
esac
elif [[ -f /etc/mcst_version ]]; then
case $distro_shorthand in
on|tiny) distro="OS Elbrus" ;;
@ -9833,6 +9839,31 @@ dmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmd
EOF
;;
"Q4OS"*)
set_colors 4 1
read -rd '' ascii_data <<'EOF'
${c1} .:***** :=====.
${c1}.:******** :========.
${c1} .*********** :===========.
${c1}.:************ :============-
${c1} .************** :==============
${c1} :*************** :===============
${c1}:**************. :===============
${c1}.*************: .=============.
${c1}*************. .============:
${c1}:############. ${c2}:==:
${c1}:##############. ${c2}:======:
${c1}:################ ${c2}.==========:
${c1}:############### ${c2}.===========:
${c1}:############## ${c2}.===========:
${c1}:############# ${c2}.=========:
${c1}:########### ${c2}.=====:
${c1}.######### ${c2}.=:
${c1}.#####
EOF
;;
"Qubes"*)
set_colors 4 5 7 6
read -rd '' ascii_data <<'EOF'