[Linux-HA] Question regarding Pure-FTPd OCF Script
Raoul Bhatia [IPAX]
r.bhatia at ipax.at
Tue Oct 16 08:08:18 MDT 2007
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. r.bhatia at ipax.at
Technischer Leiter
IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. office at ipax.at
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
____________________________________________________________________
More information about the Linux-HA
mailing list