Dejan Muhamedagic wrote:
On Tue, Oct 16, 2007 at 01:34:40PM +0200, Dejan Muhamedagic wrote:
The only way I can see is to introduce, say, a dist variable
(OCF_RESKEY_dist) and then put if-else (or case) statements where
appropriate:
This is not a very good advice. Though not probable, it is
possible that one has more than one distribution in the cluster.
As Andrew suggested, try to figure out where the agent runs
dynamically (/etc/debian_version) or, perhaps, just check if that
wrapper is present:
if [ -x /usr/sbin/pure-ftpd-wrapper ]
...
thank you all for your input - ill try to get back to you asap.
cheers,
raoul
--
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc. email. [EMAIL PROTECTED]
Technischer Leiter
IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. [EMAIL PROTECTED]
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
____________________________________________________________________
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems