Revision 1d333258
Added by Scott Ullrich over 15 years ago
usr/local/www/services_dyndns_edit.php | ||
---|---|---|
25 | 25 |
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
26 | 26 |
POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
*/ |
28 |
/* |
|
29 |
pfSense_BUILDER_BINARIES: /bin/rm |
|
30 |
pfSense_MODULE: dyndns |
|
31 |
*/ |
|
28 | 32 |
|
29 | 33 |
##|+PRIV |
30 | 34 |
##|*IDENT=page-services-dynamicdnsclient |
... | ... | |
33 | 37 |
##|*MATCH=services_dyndns_edit.php* |
34 | 38 |
##|-PRIV |
35 | 39 |
|
36 |
|
|
37 | 40 |
/* returns true if $uname is a valid DynDNS username */ |
38 | 41 |
function is_dyndns_username($uname) { |
39 | 42 |
if (!is_string($uname)) |
... | ... | |
111 | 114 |
$retval = 0; |
112 | 115 |
|
113 | 116 |
conf_mount_rw(); |
114 |
mwexec("rm {$g['conf_path']}/dyndns_{$dyndns['interface']}{$dyndns['type']}.cache"); |
|
117 |
mwexec("/bin/rm {$g['conf_path']}/dyndns_{$dyndns['interface']}{$dyndns['type']}.cache");
|
|
115 | 118 |
conf_mount_ro(); |
116 | 119 |
|
117 | 120 |
$retval = services_dyndns_configure_client($dyndns); |
Also available in: Unified diff
Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on