On Tue, Dec 13, 2005 at 10:38:10AM +0100, Attilio Fiandrotti wrote:
> 
> 

  #!/path/to/interpreter

> #List of vesa drivers that require DFB's HW acceleration to be disabled
> BAD_LIST="atyfb nvidiafb"
> 
> if [ -z "DISABLE_FB_ACCELERATION" ]; then
>       echo "no-hardware" >>/etc/directfbrc
> else
>       for driver in $BAD_LIST; do
>               if [ $(dmesg|grep $driver |wc -w) -gt 0 ];then
>                       echo "no-hardware" >>/etc/directfbrc
>                       break;
>               fi
>       done
> fi

When _no_ 'DISABLE_FB_ACCELERATION' is provided,
it still does disable drivers from the BAD_LIST


GSt

Attachment: signature.asc
Description: Digital signature

Reply via email to