Skip to content

Commit

Permalink
bug fix for ITG kill
Browse files Browse the repository at this point in the history
  • Loading branch information
ssundaresan committed Jun 4, 2013
1 parent ab086fc commit 74f5dce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion device/OpenWrt_common/scripts/bismark-measure-active
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ cat >> $XML_FILE <<-end
</measurements>
end
#pkill ITG
for i in `ps | grep ITG[SR]| awk '{print $1}'`; do kill -9 $i; done
# Move file to data folder
mv $XML_FILE /tmp/bismark/data
Expand All @@ -307,7 +309,6 @@ mv $XML_FILE /tmp/bismark/data
if [ -e /sys/devices/platform/leds-gpio/leds/wndr3700:orange:wps/brightness ]; then
echo 0 > /sys/devices/platform/leds-gpio/leds/wndr3700:orange:wps/brightness
fi
pkill ITG
#scp -S "/tmp/bismark/ssh" -i $SSH_KEY /tmp/bismark/data/*.xml $USER@$SERVER:var/data/test/
mv /tmp/bismark/data/*.xml /tmp/bismark-uploads/active
#&& rm /tmp/bismark/data/*.xml

0 comments on commit 74f5dce

Please sign in to comment.