Debug-Output aus dem hotplug-script raus

This commit is contained in:
Wolfgang G. Behrens 2014-10-11 18:24:56 +02:00
parent 2b1eb42fe2
commit 5ee34dc4c0
1 changed files with 1 additions and 3 deletions

View File

@ -20,10 +20,8 @@ tc_interface() {
# Limits per % -> Langzeitmessung im Hintergrund
if [ 0$autotest -eq 1 ] ; then
echo "$0 autotest allowed in uci / site.conf " >>/tmp/auto-tc-output
if [ "0$limit_ingress" -lt 100 ] || [ "0$limit_egress" -lt 100 ] ; then
echo "autotest needed (wert <100) " >>/tmp/auto-tc-output
/lib/gluon/auto-tc/check-and-update.lua >>/tmp/auto-tc-output &
/lib/gluon/auto-tc/check-and-update.lua &>/tmp/auto-tc-output &
# Minimalfallback für den Fall, das die Messungen schief gehen
[ "$limit_ingress" ] && [ "0$limit_ingress" -lt 100 ] && limit_ingress=400
[ "$limit_egress" ] && [ "0$limit_egress" -lt 100 ] && limit_egress=100