Upgrade inadyn
This commit is contained in:
parent
ead7f41f3e
commit
295601f375
|
@ -95,7 +95,7 @@ if [ -d "$PROJECT_DIR" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#rebuild_exim_with_socks
|
#rebuild_exim_with_socks
|
||||||
update_inadyn_config
|
install_dynamicdns
|
||||||
torrc_migrate
|
torrc_migrate
|
||||||
nodejs_upgrade
|
nodejs_upgrade
|
||||||
apt-get -yq -t stretch-backports install certbot
|
apt-get -yq -t stretch-backports install certbot
|
||||||
|
|
|
@ -435,6 +435,10 @@ function upgrade_inadyn_config {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f /usr/sbin/inadyn ]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
if grep -q "{" "${INADYN_CONFIG_FILE}"; then
|
if grep -q "{" "${INADYN_CONFIG_FILE}"; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue