More inadyn parameters

This commit is contained in:
Bob Mottram 2015-01-19 21:41:15 +00:00
parent 2f5e8bdca5
commit c58ce9a0cf
1 changed files with 5 additions and 3 deletions

View File

@ -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
}