#!/bin/sh iw=`iwconfig wlan0 | grep -rc Uni-Bremen` if [ $iw = 1 ]; then pon uni route del default route add default ppp0 fi