Tidying
This commit is contained in:
parent
32403cbd1c
commit
e75e9333fe
|
@ -229,9 +229,7 @@ function add_ddns_domain {
|
|||
echo '}'; } > "${INADYN_CONFIG_FILE}"
|
||||
fi
|
||||
|
||||
if ! grep -q "$CURRENT_DDNS_DOMAIN" "${INADYN_CONFIG_FILE}"; then
|
||||
sed -i "s|hostname .*|hostname = $DEFAULT_DOMAIN_NAME"
|
||||
fi
|
||||
sed -i "s|hostname .*|hostname = $DEFAULT_DOMAIN_NAME"
|
||||
chmod 600 "${INADYN_CONFIG_FILE}"
|
||||
|
||||
systemctl daemon-reload
|
||||
|
|
Loading…
Reference in New Issue