#!/bin/bash
test `ifconfig $1 | grep RUNNING` && echo true || echo false