From 83fc5fdfe9024dd772c595093b12b244368f376b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Sun, 20 Jul 2008 19:49:31 +0000 Subject: Now that the cache file is back to config path use it. --- etc/inc/services.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'etc') 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; } -- cgit v1.1