summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-07-20 19:49:31 +0000
committerErmal Luçi <eri@pfsense.org>2008-07-20 19:49:31 +0000
commit83fc5fdfe9024dd772c595093b12b244368f376b (patch)
tree961194e99f3bd30d1ae5d3ec5f6cebfb207dc04f
parentacdfc164dce28aa6e01a7c271aef9c683cd77625 (diff)
downloadpfsense-83fc5fdfe9024dd772c595093b12b244368f376b.zip
pfsense-83fc5fdfe9024dd772c595093b12b244368f376b.tar.gz
Now that the cache file is back to config path use it.
-rw-r--r--etc/inc/services.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 9513f9b..d43f1f7 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -461,8 +461,9 @@ function services_dyndns_reset() {
echo "services_dyndns_reset() being called $mt\n";
}
- mwexec("rm {$g['varetc_path']}/ez-ipupdate*.cache");
- mwexec("rm {$g['varetc_path']}/dyndns*.cache");
+ conf_mount_rw();
+ mwexec("rm {$g['conf_path']}/dyndns*.cache");
+ conf_mount_ro();
return 0;
}
OpenPOWER on IntegriCloud