summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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