summaryrefslogtreecommitdiff
path: root/src/conf_mode/dynamic_dns.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-10-23 05:45:28 +0200
committerChristian Poessinger <christian@poessinger.com>2019-11-09 15:16:09 +0100
commit3a1f648943a25ffc4390dfeac15d0459f091edcc (patch)
tree64f7a0332b4988b070e5d51f034f4e7839686c3b /src/conf_mode/dynamic_dns.py
parentd6baf248fea9256a8142fb66e2bf9b19e1831cea (diff)
downloadvyos-1x-3a1f648943a25ffc4390dfeac15d0459f091edcc.tar.gz
vyos-1x-3a1f648943a25ffc4390dfeac15d0459f091edcc.zip
ddclient: T1030: use new default configuration file path
(cherry picked from commit 564c75c511c2cfd23404a500340a53441c694ffd)
Diffstat (limited to 'src/conf_mode/dynamic_dns.py')
-rwxr-xr-xsrc/conf_mode/dynamic_dns.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/conf_mode/dynamic_dns.py b/src/conf_mode/dynamic_dns.py
index ff3c1f825..d4e890ebb 100755
--- a/src/conf_mode/dynamic_dns.py
+++ b/src/conf_mode/dynamic_dns.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2018 VyOS maintainers and contributors
+# Copyright (C) 2018-2019 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
@@ -13,8 +13,6 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-#
import os
import sys
@@ -23,7 +21,7 @@ import jinja2
from vyos.config import Config
from vyos import ConfigError
-config_file = r'/etc/ddclient.conf'
+config_file = r'/etc/ddclient/ddclient.conf'
cache_file = r'/var/cache/ddclient/ddclient.cache'
config_tmpl = """