Various fixes
authorAlan T. DeKok <aland@freeradius.org>
Sun, 19 Sep 2010 06:41:44 +0000 (08:41 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 19 Sep 2010 06:52:01 +0000 (08:52 +0200)
commit445aadf8ff234344d19817eef5f6d10bb0ba6bb0
tree676e1138949b3520e7037f534d2a02ce0feb87e0
parent50c56b5c890bc3cce74b04cfce97cf37e04040ad
Various fixes

If timeout is zero, set it to 1^6.  That should be good enough.

Don't filter output through sed, this makes it impossible to kill the
"tail" process.

Catch the tail PID, and kill it on exit.

Trap on signals, not on normal exit.

Duplicate code in trap for normal exit.  This ensures that the code is
only executed once.
scripts/raddebug