* Fixed typo (#269)

* Fix cache wipe (#282)

* Update gs-pull.sh

`restartdns          Full restart Pi-hole subsystems
                        Add 'reload' to update the lists and flush the cache without restarting the DNS server
                        Add 'reload-lists' to only update the lists WITHOUT flushing the cache or restarting the DNS server`
fixing typo

* Update gs-push.sh

fixing typo

* Update VERSION

* Update gravity-sync.sh

Co-authored-by: Philippe Ouellette <philippeouellette@protonmail.com>
Co-authored-by: djschnei21 <32646250+djschnei21@users.noreply.github.com>
This commit is contained in:
Michael Stanclift 2022-01-12 12:23:53 -06:00 committed by GitHub
parent 6c247dff81
commit 93656c29ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
3.4.7
3.4.8

View File

@ -3,7 +3,7 @@ SCRIPT_START=$SECONDS
# GRAVITY SYNC BY VMSTAN #####################
PROGRAM='Gravity Sync'
VERSION='3.4.7'
VERSION='3.4.8'
# For documentation or downloading updates visit https://github.com/vmstan/gravity-sync
# Requires Pi-Hole 5.x or higher already be installed, for help visit https://pi-hole.net
@ -199,4 +199,4 @@ case $# in
task_invalid ;;
esac
# END OF SCRIPT ##############################
# END OF SCRIPT ##############################

View File

@ -42,7 +42,7 @@ function config_generate {
echo_blank
echo -e "Gravity Sync uses a primary/secondary model for replication, and normally syncs changes from the "
echo -e "primary to the secondary. The LOCAL Pi-hole where you are running this configuration script is"
echo -e "considered the the SECONDARY Pi-hole! The REMOTE Pi-hole where you will normally make configuration"
echo -e "considered the SECONDARY Pi-hole! The REMOTE Pi-hole where you will normally make configuration"
echo -e "changes is considered the PRIMARY Pi-hole."
echo_blank
echo -e "Confused? Please refer back to the documentation."

View File

@ -108,7 +108,7 @@ function pull_gs_reload {
MESSAGE="${UI_FTLDNS_CONFIG_UPDATE}"
echo_stat
${PH_EXEC} restartdns reloadlists >/dev/null 2>&1
${PH_EXEC} restartdns reload-lists >/dev/null 2>&1
error_validate
MESSAGE="${UI_FTLDNS_CONFIG_RELOAD}"
@ -132,4 +132,4 @@ function pull_gs {
logs_export
exit_withchange
}
}

View File

@ -145,7 +145,7 @@ function push_gs_reload {
MESSAGE="${UI_FTLDNS_CONFIG_PUSH_UPDATE}"
echo_stat
CMD_TIMEOUT='15'
CMD_REQUESTED="${RH_EXEC} restartdns reloadlists"
CMD_REQUESTED="${RH_EXEC} restartdns reload-lists"
create_sshcmd
MESSAGE="${UI_FTLDNS_CONFIG_PUSH_RELOAD}"
@ -172,4 +172,4 @@ function push_gs {
logs_export
exit_withchange
}
}