#!/bin/sh -e
#/usr/bin/report-speed
#
# Race condition where "#Speed is n" could be printed twice if connection 
# becomes avaliable =after= we CONNECT but before this script is run. Very
# unlikely, and trivial consequence, so don't worry.
#
if [ -e /var/run/connected.dwun ]
then
	echo "$1":#Speed is `cat /var/run/connected.dwun` > /usr/lib/dwun-msg
fi
exit 0
