记录拨号上网的公网地址
#!/bin/bash datetime=`date +%Y-%m-%d` ipaddress=`curl http://ip.3322.net` echo $datetime','$ipaddress >> /home/pi/iphistory.txt
#!/bin/bash datetime=`date +%Y-%m-%d` ipaddress=`curl http://ip.3322.net` echo $datetime','$ipaddress >> /home/pi/iphistory.txt