diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-30 11:46:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-30 11:46:05 +0000 |
commit | 003fb3121f65caddf168b3c493cb891513b0538b (patch) | |
tree | e4968f4ec77f8c8b4acc9f37129ee34d8c07b8b5 /etc | |
parent | d4255207b4da026a62703da4bad790ff3b6ea1d3 (diff) | |
download | pfsense-003fb3121f65caddf168b3c493cb891513b0538b.zip pfsense-003fb3121f65caddf168b3c493cb891513b0538b.tar.gz |
* Run dyndns at 2:01 am
* Fix $initial values
Ticket #574
Diffstat (limited to 'etc')
-rw-r--r-- | etc/crontab | 2 | ||||
-rw-r--r-- | etc/inc/dyndns.class | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/etc/crontab b/etc/crontab index 2dac133..1b6b452 100644 --- a/etc/crontab +++ b/etc/crontab @@ -11,4 +11,4 @@ HOME=/var/log 1,31 0-5 * * * root /usr/bin/nice -n20 adjkerntz -a 1 * 1 * * root /usr/bin/nice -n20 /etc/rc.update_bogons.sh */60 * 1 * * root /usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 sshlockout -* 2 * * * root /usr/bin/nice -n20 /etc/rc.dyndns.update +1 2 * * * root /usr/bin/nice -n20 /etc/rc.dyndns.update diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class index 64eaa58..b9f543e 100644 --- a/etc/inc/dyndns.class +++ b/etc/inc/dyndns.class @@ -468,7 +468,7 @@ $this->_debug($cacheIP.'/'.$cacheTime); - $initial = true; + $initial = false; } else { $file = fopen($this->_cacheFile, 'w'); fwrite($file, '0.0.0.0:'.$currentTime); @@ -476,7 +476,7 @@ $cacheIP = '0.0.0.0'; $cacheTime = $currentTime; - $initial = false; + $initial = true; } switch ($this->_dnsService) { |