#!/bin/bash
#
# Script used to ping the default route on Sprint to keep the connection alive.
#
GW=`route -n | grep 0.0.0.0 | grep 68 | sed -r "s/\ /\n/" | grep 68 | grep -n 1 | grep "1:" | sed -r "s/1:/\ /"`
screen -d -m ping $GW
