Something
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
touch /etc/X11/xorg.conf
elif [ "$VIA" != "$SIS" ]; then
sed -i 's/sis/via/g' /etc/X11/xorg.conf
else
# Do something crazy... EEEK!
xdebconfigurator -cdir ; dexconf
fi