#!/bin/sh

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


echo "<title>go get a fortune</title>" > /usr/lib/ppp/fortune.html
echo "<br><br><br><br>" >> /usr/lib/ppp/fortune.html
echo "<center><h1><a href=\"http://$New_DNS/cgi-bin/fortune_html\">a fortune is here, really</a></h1></center>">>$ULP/fortune.html


