All pastes #265007 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-12-02 22:37 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
    	echo sis detected
else
	echo via detected
elif
	echo elif reached
then
	echo then done
fi