#!/bin/sh # This is for ez-ipupdate-3.0.11b8 # change this parameters SERVICE=null HOST=yourhostname.dyndns.org USER=yourusername PASSW=yourpassword IFACE=ppp0 MAXTIME=2073600 PERIOD=60 # set up regular config file echo "service-type=$SERVICE" > /etc/ez-ipupdate.conf echo "user=$USER:$PASSW" >> /etc/ez-ipupdate.conf echo "host=$HOST" >> /etc/ez-ipupdate.conf echo "interface=$IFACE" >> /etc/ez-ipupdate.conf echo "max-interval=$MAXTIME" >> /etc/ez-ipupdate.conf echo "period=$PERIOD" >> /etc/ez-ipupdate.conf # wait for initial adsl connection to come up sleep 5 /bin/ez-ipupdate -d -c /etc/ez-ipupdate.conf echo "ez-update started for service $SERVICE. "