From 9c38bceaf7aca08e01e94dd9be6df11d9f5d79ef Mon Sep 17 00:00:00 2001 From: sullrich Date: Sat, 28 Nov 2009 16:47:17 -0500 Subject: Do not dedicate 16 characters to interface name --- usr/local/www/services_dyndns_edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php index 1dbadc0..12df1d5 100644 --- a/usr/local/www/services_dyndns_edit.php +++ b/usr/local/www/services_dyndns_edit.php @@ -109,16 +109,16 @@ if ($_POST) { write_config(); - - /* XXX: Make this with a touch file */ $retval = 0; conf_mount_rw(); + mwexec("/bin/rm {$g['conf_path']}/dyndns_{$dyndns['interface']}{$dyndns['type']}.cache"); - conf_mount_ro(); $retval = services_dyndns_configure_client($dyndns); + conf_mount_ro(); + header("Location: services_dyndns.php"); exit; } -- cgit v1.1