summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-06-04 00:28:40 -0500
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-06-04 02:04:03 -0500
commita79a61b8e3afd39b7faeaca0750e68f3d693c5a9 (patch)
tree169ecb5159bb193384fa5f8141e782546a91ac23
parent5fdf30550dd2f76f7bb85445b58acd7c6c0c3ae1 (diff)
downloadvyos-1x-a79a61b8e3afd39b7faeaca0750e68f3d693c5a9.tar.gz
vyos-1x-a79a61b8e3afd39b7faeaca0750e68f3d693c5a9.zip
dns: T5144: Relocate ddclient op-mode config files for consistency with config path
-rw-r--r--op-mode-definitions/dns-dynamic.xml.in6
-rwxr-xr-xsrc/op_mode/dns_dynamic.py (renamed from src/op_mode/dynamic_dns.py)0
2 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/dns-dynamic.xml.in b/op-mode-definitions/dns-dynamic.xml.in
index 9c37874fb..8047d55cd 100644
--- a/op-mode-definitions/dns-dynamic.xml.in
+++ b/op-mode-definitions/dns-dynamic.xml.in
@@ -30,7 +30,7 @@
<properties>
<help>Show Dynamic DNS status</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/dynamic_dns.py --status</command>
+ <command>sudo ${vyos_op_scripts_dir}/dns_dynamic.py --status</command>
</leafNode>
</children>
</node>
@@ -46,7 +46,7 @@
<properties>
<help>Restart Dynamic DNS service</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/dynamic_dns.py --update</command>
+ <command>sudo ${vyos_op_scripts_dir}/dns_dynamic.py --update</command>
</node>
</children>
</node>
@@ -66,7 +66,7 @@
<properties>
<help>Update Dynamic DNS information</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/dynamic_dns.py --update</command>
+ <command>sudo ${vyos_op_scripts_dir}/dns_dynamic.py --update</command>
</node>
</children>
</node>
diff --git a/src/op_mode/dynamic_dns.py b/src/op_mode/dns_dynamic.py
index d41a74db3..d41a74db3 100755
--- a/src/op_mode/dynamic_dns.py
+++ b/src/op_mode/dns_dynamic.py