From 91e55d73ea0ab032b78a15222b1669e70b882e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Tue, 16 Dec 2008 07:31:05 +0000 Subject: Catch up with functions changes. --- usr/local/www/services_dyndns_edit.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr/local/www') diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php index aa66e79..8f1eda8 100644 --- a/usr/local/www/services_dyndns_edit.php +++ b/usr/local/www/services_dyndns_edit.php @@ -99,9 +99,12 @@ if ($_POST) { /* XXX: Make this with a touch file */ $retval = 0; + conf_mount_rw(); + mwexec("rm {$g['conf_path']}/dyndns_{$dyndns['interface']}{$dyndns['type']}.cache"); + conf_mount_ro(); + /* nuke the cache file */ config_lock(); - services_dyndns_reset($dyndns['interface'], $dyndns['type']); $retval = services_dyndns_configure_client($dyndns); config_unlock(); -- cgit v1.1