Add custom.list bypass to pull function

This commit is contained in:
Michael Stanclift 2020-05-29 13:46:23 -05:00
parent a6e3fd89a5
commit 810e28aa0e
2 changed files with 88 additions and 83 deletions

View File

@ -175,6 +175,8 @@ function pull_gs {
error_validate
fi
if [ "$SKIP_CUSTOM" != '1' ]
then
if [ $REMOTE_CUSTOM_DNS == "1" ]
then
MESSAGE="Backing Up ${CUSTOM_DNS} on $HOSTNAME"
@ -230,7 +232,7 @@ function pull_gs {
error_validate
fi
fi
fi
MESSAGE="Inverting Tachyon Pulse"
echo_info
@ -538,6 +540,8 @@ function md5_compare {
HASHMARK=$((HASHMARK+1))
fi
if [ "$SKIP_CUSTOM" != '1' ]
then
if [ -f ${PIHOLE_DIR}/${CUSTOM_DNS} ]
then
MESSAGE="Comparing ${CUSTOM_DNS} Changes"
@ -575,6 +579,7 @@ function md5_compare {
MESSAGE="No Local ${CUSTOM_DNS} Detected"
echo_info
fi
fi
if [ "$HASHMARK" != "0" ]
then