linux-fai  

Re: How to conditionally define a class? (ex. Xorg configuration)

Thomas Lange
Thu, 21 Jan 2010 09:40:54 -0800

>>>>> On Thu, 21 Jan 2010 17:56:25 +0100 (CET), "Thomas Neumann" 
>>>>> <blacky+...@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