optimising internet widget

@zsero it turns out I had a similar problem today along these lines.
The snippet below should work:

```
k=`cat /proc/net/dev`
if [[ $k == *wlan0* ]]; then
    echo "yes"
else
    echo "no"
fi
```