Usage - CronThis script is ideally run through a cron job, checking on a fixed interval if the IP has changed.
The following line is suitable for running dme_update. Add it to the accurate user's crontab file. Longer intervals between each check can be set if the IP number rarely changes. (See man cron and man 5 crontab for more info.)
0-59/5 * * * * /path/to/dme_update/dme_update