diff --git a/gravity-sync.sh b/gravity-sync.sh index caab71e..5fa62d4 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -312,7 +312,7 @@ function show_version { # Look for Changes function md5_compare { - primaryMD5=$(ssh ${REMOTE_USER}@${REMOTE_HOST} \'md5sum ${PIHOLE_DIR}/${GRAVITY_FI}\') + primaryMD5=$(ssh ubuntu@192.168.7.5 'md5sum /etc/pihole/gravity.db') secondMD5=$(md5sum ${PIHOLE_DIR}/${GRAVITY_FI}) if [ "$primaryMD5" == "$secondMD5" ]