All pastes #269416 Raw Edit

Something

public text v1 · immutable
·published 2006-12-06 15:59 UTC
rendered paste body
#!/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