diff options
Diffstat (limited to 'usr/local/www/services_dyndns_edit.php')
-rw-r--r-- | usr/local/www/services_dyndns_edit.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php index 651bf6d..1dbadc0 100644 --- a/usr/local/www/services_dyndns_edit.php +++ b/usr/local/www/services_dyndns_edit.php @@ -25,6 +25,10 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +/* + pfSense_BUILDER_BINARIES: /bin/rm + pfSense_MODULE: dyndns +*/ ##|+PRIV ##|*IDENT=page-services-dynamicdnsclient @@ -33,7 +37,6 @@ ##|*MATCH=services_dyndns_edit.php* ##|-PRIV - /* returns true if $uname is a valid DynDNS username */ function is_dyndns_username($uname) { if (!is_string($uname)) @@ -111,7 +114,7 @@ if ($_POST) { $retval = 0; conf_mount_rw(); - mwexec("rm {$g['conf_path']}/dyndns_{$dyndns['interface']}{$dyndns['type']}.cache"); + mwexec("/bin/rm {$g['conf_path']}/dyndns_{$dyndns['interface']}{$dyndns['type']}.cache"); conf_mount_ro(); $retval = services_dyndns_configure_client($dyndns); |