Adding tentative SolusOS detection via /etc/issue

This commit is contained in:
Brett Bohnenkamper
2011-12-09 06:35:49 -06:00
parent 9b9270b6bf
commit ae854ead47

View File

@@ -270,6 +270,7 @@ detectdistro () {
if [ -f /var/run/dmesg.boot ] && grep -i bsd /var/run/dmesg.boot; then distro="BSD"; fi
if [ -f /usr/share/doc/tc/release.txt ]; then distro="TinyCore"; fi
if [ -f /etc/frugalware-release ]; then distro="Frugalware"; fi
if grep -q "SolusOS" /etc/issue; then distro="SolusOS"; fi
fi
else