RE: bash script fails in squeeze

2011-07-07 Thread Bonno Bloksma
Hi, Bonno Bloksma: > > This bash script has been doing it's job for the past few years but > suddenly stopped working in squeeze. Each part seems to work but the > complete script does not. :-( I must admit that I am not really inclined to try to understand what your scripts should do and and

Re: bash script fails in squeeze

2011-07-06 Thread Cam Hutchison
"Bonno Bloksma" writes: [...snip...] >ping3.sh -- >default gateway >status=0 >ping4.sh -- >status=1 [...snip...] >ping3.sh -- ># test of $PINGHOST pingt ># pingt hij niet, test dan nog een keer ># pingt hij dan nog niet, verwijder dan de defaultroute >[ `pingtest $PINGHO

Re: bash script fails in squeeze

2011-07-06 Thread Javier Barroso
On Wed, Jul 6, 2011 at 4:33 PM, Bonno Bloksma wrote: > Hi, > > This script has been working flawlesly in Debian Etch and Lenny but after > upgrading to Squeeze it no longer seems to work and I cannot find out why. > > Below the full "defaultgw-test.sh" script which attempts to determin whethet > t

Re: bash script fails in squeeze

2011-07-06 Thread lee
"Bonno Bloksma" writes: > Below the full "defaultgw-test.sh" script which attempts to determin > whethet the local internet gateway (ADLS, Cable, etc) is > functioning. If not it will switch the default gateway over to the > intranet connection where the internet traffic when then leave our WAN >

Re: bash script fails in squeeze

2011-07-06 Thread Jochen Schulz
Bonno Bloksma: > > This bash script has been doing it's job for the past few years but > suddenly stopped working in squeeze. Each part seems to work but the > complete script does not. :-( I must admit that I am not really inclined to try to understand what your scripts should do and and why the