summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-10-23 05:45:28 +0200
committerChristian Poessinger <christian@poessinger.com>2019-10-23 05:47:09 +0200
commit564c75c511c2cfd23404a500340a53441c694ffd (patch)
tree4327ab6cb086513d818b8831e0bfff15135fc798 /src/conf_mode
parent1ac55ee7fb117d634031b85b0ceb7458702d2ac7 (diff)
downloadvyos-1x-564c75c511c2cfd23404a500340a53441c694ffd.tar.gz
vyos-1x-564c75c511c2cfd23404a500340a53441c694ffd.zip
ddclient: T1030: use new default configuration file path
Diffstat (limited to 'src/conf_mode')
-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 = """