OS: Add detection for TrueOS

This commit is contained in:
Dylan Araps 2016-12-22 14:36:13 +11:00
parent c23194a5e8
commit 4376391112

View file

@ -156,6 +156,7 @@ get_distro() {
# Workarounds for FreeBSD based distros.
[[ -f "/etc/pcbsd-lang" ]] && distro="PCBSD"
[[ -f "/etc/trueos-lang" ]] && distro="TrueOS"
[[ -f "/etc/pacbsd-release" ]] && distro="PacBSD"
;;