>>>>> On Thu, 21 Jan 2010 17:56:25 +0100 (CET), "Thomas Neumann" <blacky+fai at fluffbunny.de> said: > if ifclass XORG ; then > if <test for ati> ; then > echo XORG_ATI > fi > fi IIRC ifclass does not work when the scripts are executed. Therefore I used the grep thing. -- regards Thomas