>>>>> On Thu, 10 Nov 2011 10:02:54 +0100, Steffen Grunewald <Steffen.Grunewald at aei.mpg.de> said: > Is there something I can check for so the corresponding code will be > run only in sysinfo mode? Try this if [ X$FAI_ACTION = Xsysinfo ]; then . . . fi -- regards Thomas