From c58ce9a0cf0cbe3dcdf0b82a76f6c1fa3190556c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 19 Jan 2015 21:41:15 +0000 Subject: [PATCH] More inadyn parameters --- src/freedombone | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/freedombone b/src/freedombone index 28426845..42b82db5 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8349,7 +8349,9 @@ function install_dynamicdns { fi # create a configuration file - echo 'period 300' > /etc/inadyn.conf + echo 'background' > /etc/inadyn.conf + echo 'verbose 1' >> /etc/inadyn.conf + echo 'period 300' >> /etc/inadyn.conf echo 'startup-delay 60' >> /etc/inadyn.conf echo 'cache-dir /run/inadyn' >> /etc/inadyn.conf chmod 600 /etc/inadyn.conf @@ -8357,7 +8359,7 @@ function install_dynamicdns { if [ ! -d /etc/inadyn ]; then mkdir /etc/inadyn fi - + # add an init script echo '#!/bin/sh' > /etc/init.d/inadyn echo '### BEGIN INIT INFO' >> /etc/init.d/inadyn @@ -8485,7 +8487,7 @@ function install_dynamicdns { update-rc.d inadyn defaults service inadyn start systemctl daemon-reload - + echo 'install_dynamicdns' >> $COMPLETION_FILE }