More inadyn parameters
This commit is contained in:
parent
2f5e8bdca5
commit
c58ce9a0cf
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue