Mine
public text v1 · immutable#!/bin/bash
set -x
SIS="`lspci | grep "VGA"| grep "SIS"`"
#echo $SIS
VIA="`lspci | grep "VGA"| grep "VIA"`"
#echo $VIA
if [ "$SIS" = "$VIA" ]; then
echo sis detected
else
echo via detected
elif [ "$SIS" =! "$VIA" ]
then
echo then done
fi