mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Add custom.list bypass to pull function
This commit is contained in:
parent
a6e3fd89a5
commit
810e28aa0e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user