neofetch: Added initial support for HardenedBSD. Closes #1050
This commit is contained in:
@@ -957,9 +957,10 @@ get_distro() {
|
|||||||
distro=${distro/DragonFly/DragonFlyBSD}
|
distro=${distro/DragonFly/DragonFlyBSD}
|
||||||
|
|
||||||
# Workarounds for some BSD based distros.
|
# Workarounds for some BSD based distros.
|
||||||
[[ -f /etc/pcbsd-lang ]] && distro=PCBSD
|
[[ -f /etc/pcbsd-lang ]] && distro=PCBSD
|
||||||
[[ -f /etc/trueos-lang ]] && distro=TrueOS
|
[[ -f /etc/trueos-lang ]] && distro=TrueOS
|
||||||
[[ -f /etc/pacbsd-release ]] && distro=PacBSD
|
[[ -f /etc/pacbsd-release ]] && distro=PacBSD
|
||||||
|
[[ -f /etc/hbsd-update.conf ]] && distro=HardenedBSD
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -6419,7 +6420,7 @@ ${c1}/\\,-'''''-,/\\
|
|||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"FreeBSD"*)
|
"FreeBSD"*|HardenedBSD*)
|
||||||
set_colors 1 7 3
|
set_colors 1 7 3
|
||||||
read -rd '' ascii_data <<'EOF'
|
read -rd '' ascii_data <<'EOF'
|
||||||
${c2}``` ${c1}`
|
${c2}``` ${c1}`
|
||||||
|
|||||||
Reference in New Issue
Block a user