From 1a5bb30a60bf5c225d5fcfa8ea445ea2f63cfbec Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Fri, 29 May 2020 22:12:55 -0500 Subject: [PATCH] history --- CHANGELOG.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d6d346..9b67357 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -142,7 +142,7 @@ Delete the `dev` file and update again to revert back to the stable/master branc - Code easier to read with proper tabs. ## 1.0 -### The Initial Release** +### The Initial Release No version control, variables or anything fancy. It only worked if everything was exactly perfect. @@ -150,10 +150,9 @@ No version control, variables or anything fancy. It only worked if everything wa echo 'Copying gravity.db from HA primary' rsync -e 'ssh -p 22' ubuntu@192.168.7.5:/etc/pihole/gravity.db /home/pi/gravity-sync echo 'Replacing gravity.db on HA secondary' -sudo cp /home/pi/gravity-sync/gravity.db /etc/pihole/ echo 'Reloading configuration of HA secondary FTLDNS from new gravity.db' +sudo cp /home/pi/gravity-sync/gravity.db /etc/pihole/ +echo 'Reloading configuration of HA secondary FTLDNS from new gravity.db' pihole restartdns reload-lists -echo 'Cleaning up things' -mv /home/pi/gravity-sync/gravity.db /home/pi/gravity- sync/gravity.db.last ``` -For real, that's it. 7 lines. \ No newline at end of file +For real, that's it. 6 lines, could provably be done with less. \ No newline at end of file