...
 
Commits (2)
......@@ -22,7 +22,7 @@ if [ `cat /sys/class/net/$INTERFACE/operstate` = 'down' ]; then
echo "down"
echo ""
else
INFO=`wicd-cli -i | grep "Connected to" | sed "s/.*to \([a-zA-Z0-9_\-\ ]*\) at \([0-9%]*\).*/\2 (\1)/"`
INFO=`wicd-cli -i | grep "Connected to" | sed "s/.*to \([a-zA-Z0-9'_\-\ ]*\) at \([0-9%]*\).*/\2 (\1)/"`
QUALITY=`echo $INFO | cut -d'%' -f1`
echo $INFO
echo $QUALITY%
......