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
|
error_validate
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$SKIP_CUSTOM" != '1' ]
|
||||||
|
then
|
||||||
if [ $REMOTE_CUSTOM_DNS == "1" ]
|
if [ $REMOTE_CUSTOM_DNS == "1" ]
|
||||||
then
|
then
|
||||||
MESSAGE="Backing Up ${CUSTOM_DNS} on $HOSTNAME"
|
MESSAGE="Backing Up ${CUSTOM_DNS} on $HOSTNAME"
|
||||||
@ -230,7 +232,7 @@ function pull_gs {
|
|||||||
error_validate
|
error_validate
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
MESSAGE="Inverting Tachyon Pulse"
|
MESSAGE="Inverting Tachyon Pulse"
|
||||||
echo_info
|
echo_info
|
||||||
@ -538,6 +540,8 @@ function md5_compare {
|
|||||||
HASHMARK=$((HASHMARK+1))
|
HASHMARK=$((HASHMARK+1))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$SKIP_CUSTOM" != '1' ]
|
||||||
|
then
|
||||||
if [ -f ${PIHOLE_DIR}/${CUSTOM_DNS} ]
|
if [ -f ${PIHOLE_DIR}/${CUSTOM_DNS} ]
|
||||||
then
|
then
|
||||||
MESSAGE="Comparing ${CUSTOM_DNS} Changes"
|
MESSAGE="Comparing ${CUSTOM_DNS} Changes"
|
||||||
@ -575,6 +579,7 @@ function md5_compare {
|
|||||||
MESSAGE="No Local ${CUSTOM_DNS} Detected"
|
MESSAGE="No Local ${CUSTOM_DNS} Detected"
|
||||||
echo_info
|
echo_info
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$HASHMARK" != "0" ]
|
if [ "$HASHMARK" != "0" ]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user