Hi,

it's even worse ;-) That patch doesnt work at all as $FAI_ACTION is not 
defined when defining the classes ;-)

It'll have to go into /usr/sbin/fai or /usr/bin/fai-class directly.

An ugly workaround in 10-base-classes would be

# define a class named after $FAI_ACTION
[ $ROOTCMD ] && echo "FAI_INSTALL"
[ ! $ROOTCMD ] && echo "FAI_SOFTUPDATE"


regards,
        Holger

Attachment: pgp9xyGiMkRQ4.pgp
Description: PGP signature

Reply via email to