Am Donnerstag, 11. Oktober 2007 14:41 schrieb Ilo Lorusso: > yes I have turned crm on all ready, > > Ive examined that script and I can see I need to get > > the two following functions need to be exectuced .. > > > add_interface () > > ip_start() > > I am using hb_gui and I cant find where u give it parameters add the > interface and then make heartbeat start iptables?
heartbeat call this agent with "start" parameter. If you would have read the script to the end you would have seen that if this script is called with "start" the script calls the function ip_start, which in turn calls the function add_interface if nescessary. I hope that is enough explanation of bash scripting. For further introduction into scripting please see: http://tldp.org/LDP/abs/html/ -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: [EMAIL PROTECTED] web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
