#!/bin/sh

ULP="/usr/lib/ppp"
New_IP=`$ULP/get_ip`
New_DNS=`nslookup $New_IP|grep Name|awk '{print $2}'`


echo "my current ip is:		$New_DNS" > $ULP/new_plan.txt
echo "my ip is dynamic so check here or on my web page">>$ULP/new_plan.txt
echo "http://pegasus.acs.ttu.edu/~z6d41 for my current ip">>$ULP/new_plan.txt
echo " " >> $ULP/new_plan.txt
echo "------------------------------------------">>$ULP/new_plan.txt
echo "have fun :)">>$ULP/new_plan.txt
echo "send any comments or questions to z6d41@ttacs.ttu.edu">>$ULP/new_plan.txt

