Hi Frédéric,
I'd prefer not to as we have to set some of these variables to different values because of several virtual aliases using one hobbit installation. Why don't you put a line in those scripts which reads those variables?
regards
Rolf
Dominique Frise a écrit :
Hi,
We noticed a problem when using bbcmd on clients for testing extension scripts:
the variables exported in runclient.sh are not set.
At least MACHINE and MACHINEDOTS should be set for beeing able to test any client-side extension script (Big Brother style or Hobbit style).
Hi Henrik
I totally agree with Dominique : I'm currently "upgrading" Big Brother clients to Hobbit 4.1.2p1 clients, and some of my external scripts are run from other scripts (post-backup ones, for example).
Would it be possible to modify bbcmd to export MACHINE, MACHINEDOTS, BBOSTYPE and HOBBITCLIENTHOME, so we can run external scripts outside of Hobbit ?
Thanks in advance !
--
Mit freundlichen Gruessen
Rolf Schrittenlocher
HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt Tel: (XX) XX - XXX XXXXX Fax: (XX) XX - XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-6ea8e907e200@xymon.invalid