Recent content by noj88

  1. N

    Shell Script help

    Hi What I did try was to have the first target fail, then move onto a second target and a third. Only at that point trigger the route change. This maybe more reliable that a temporary glitch causing all three targets to fails. The sample counts the fails - even if they are not sequential so...
  2. N

    Shell Script help

    HI, I am new to shell scripting and need help to modify this in order to ping multiple hosts to decide if the route should be changed. This a sample of a single host that works but I need at least two host to fail before it completes. #!/bin/sh MissPings=0 while true; do ping -c 1 1.2.3.4 #...
Top