Just wondering if someone could help with a "simple" script in $bash
i have to make.
I need a script that s pings a certain ip, reads the reply and ... if
there is any reply, it reschedules itself to ping the ip again in
lets say 60 secs.
Otherwise it starts a daemon, firewall, backup smb daemon, etc. .

My doubt is on how to get the script to read the ping awnser
(afirmative or not).

The main interest in this is that if the primary firewall fails (UPS
probs i m having and lack of $$ to other one ;) ) the backup one goes
off.

Sorry for the lamme question and thanks in advance for your opinions
on how can i do it.

Relevant Pages

RE: Bash script... Subject: Bash script... This is the code fragment I use to check ping....PGP KeyID: 0xB7723B21 ...(Security-Basics)

RE: ICMP (Ping)...script to locate vulnerabilities(example point and case: ... Is it good to allow UDP ping packets?... Guys again, I am not saying that you disable pings and walk away, job ... 300K and you guys are right, it port scans like a freaking demon. ...(Security-Basics)

Re: How to run script (sleep360) without delaying bootup... I don't think they would mind Now the script you sent this morning which I don't have in front of me I would think could do the job. ... Maybe you could ping then see if there a command to dealy the time servers and then let them run. ... Pinging a server on the Internet isn't really the problem, ...(Fedora)