mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Fix to pull custom.list
This commit is contained in:
parent
44a25555c5
commit
b7e31b61c3
@ -781,6 +781,12 @@ function md5_compare {
|
|||||||
echo_info
|
echo_info
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
if ${SSHPASSWORD} ${SSH_CMD} -p ${SSH_PORT} -i "$HOME/${SSH_PKIF}" ${REMOTE_USER}@${REMOTE_HOST} test -e ${PIHOLE_DIR}/${CUSTOM_DNS}
|
||||||
|
then
|
||||||
|
REMOTE_CUSTOM_DNS="1"
|
||||||
|
MESSAGE="${REMOTE_HOST} has ${CUSTOM_DNS}"
|
||||||
|
echo_info
|
||||||
|
fi
|
||||||
MESSAGE="No ${CUSTOM_DNS} Detected on $HOSTNAME"
|
MESSAGE="No ${CUSTOM_DNS} Detected on $HOSTNAME"
|
||||||
echo_info
|
echo_info
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user