#!/bin/bash

IF=${1:-wlan0}
grep $IF ifupmon.log | perl -pe 'chomp; s/.*up$/-/; s/.*borken$/*/;'
echo
