summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-07-20 14:45:46 +0000
committerErmal Luçi <eri@pfsense.org>2008-07-20 14:45:46 +0000
commit0bd73c2cac809995aa238c24d03a66f0cc523872 (patch)
treee93027dd00abc525041e6e6beab0fc650002e594
parentf5419cb3c0c6ae26031f4e7a6c0b3d5384ebf579 (diff)
downloadpfsense-0bd73c2cac809995aa238c24d03a66f0cc523872.zip
pfsense-0bd73c2cac809995aa238c24d03a66f0cc523872.tar.gz
Now that the cache file is moved to /var/etc no need to mount rw since that part is writable even on embedded by default.
-rw-r--r--etc/inc/dyndns.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index 555b412..fa2de43 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -714,11 +714,11 @@
$wan_ip = $this->_checkIP();
$currentTime = time();
log_error("phpDynDNS: updating cache file {$this->_cacheFile}: {$wan_ip}");
- conf_mount_rw();
+ //conf_mount_rw();
$file = fopen($this->_cacheFile, 'w');
fwrite($file, $wan_ip.':'.$currentTime);
fclose($file);
- conf_mount_ro();
+ //conf_mount_ro();
}
$this->status = $status;
log_error($status);
OpenPOWER on IntegriCloud