summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config/mv_ddns.py
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/LinHES-config/mv_ddns.py')
-rwxr-xr-xabs/core-testing/LinHES-config/mv_ddns.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/abs/core-testing/LinHES-config/mv_ddns.py b/abs/core-testing/LinHES-config/mv_ddns.py
index e43a7ce..7ac7d3a 100755
--- a/abs/core-testing/LinHES-config/mv_ddns.py
+++ b/abs/core-testing/LinHES-config/mv_ddns.py
@@ -9,8 +9,7 @@ def setup_ddns(systemconfig):
if systemconfig["DDnsEnable"] == "1":
logging.debug(" Enabling DDNS")
- cmd = ''' pacman --noconfirm -Sf ddclient '''
- mv_common.runcmd(cmd)
+ mv_common.pacinstall("ddclient")
mv_common.cp_and_log("/etc/ddclient/ddclient.conf.dynamic.dyndns.sample",
"/etc/ddclient/ddclient.conf")
cmd = ''' sed -i -e "s/your-dynamic-dyndns-login/%s/g" /etc/ddclient/ddclient.conf''' %(systemconfig["DDnslogin"])