#don't run on laptops using ati driver if laptop-detect; then for DRV in ati radeon; do if egrep -q "Loading $XORG_DRIVER_PATH$DRV_drv\.so" $LOG && ! egrep -q "Unloading $XORG_DRIVER_PATH$DRV_drv\.so" $LOG; then verbose "Found laptop using $DRV driver. \n" return 1 fi done fi