From 1b88c541351a628ef57635f5b6eb37e733648790 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Sun, 24 May 2020 20:37:24 -0500 Subject: [PATCH] Update gravity-sync.sh --- gravity-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 5fa62d4..ab6239a 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -312,7 +312,7 @@ function show_version { # Look for Changes function md5_compare { - primaryMD5=$(ssh ubuntu@192.168.7.5 'md5sum /etc/pihole/gravity.db') + primaryMD5=$(ssh ${REMOTE_USER}@${REMOTE_HOST} 'md5sum /etc/pihole/gravity.db') secondMD5=$(md5sum ${PIHOLE_DIR}/${GRAVITY_FI}) if [ "$primaryMD5" == "$secondMD5" ]