e4rat default tiemout fixed.

This commit is contained in:
Kolan Sh 2012-08-31 14:20:47 +04:00
parent 78c247c7c4
commit 8821e20a84
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
let timeout=0`grep --color=NO '^[ \t]*timeout' /etc/e4rat.conf | head -n1 | sed 's~[^0-9]\+\([0-9]\+\).*~\1~'` let timeout=0`grep --color=NO '^[ \t]*timeout' /etc/e4rat.conf | head -n1 | sed 's~[^0-9]\+\([0-9]\+\).*~\1~'`
[ 0 -eq $timeout ] && timeout=120
sleep $timeout sleep $timeout
e4rat-collect -k e4rat-collect -k