#!/bin/bash ########################################################################### # pihole-cloudsync # Helper script to keep multiple Pi-holes' lists synchronized via Git # ORIGINAL AUTHOR # Steve Jenkins (stevejenkins.com) # https://github.com/stevejenkins/pihole-cloudsync # Joel Goguen # https://github.com/jgoguen/pihole-cloudsync # * Provide docker support # * Allow non-master branches # Jon Stephens # https://github.com/wetnun/pihole-cloudsync # * Remove collection of csv files in favor of dump # * Move import/export to helper functions # * Allow ENV file so you don't have to edit git files # * Fix issue of custom whitelist/domains don't work in agents because of groups missing # * Removed hard tabs, I just don't like them version='6.0' update='December 9, 2021' # SETUP # Follow the instructions in the README to set up your own private Git # repository BEFORE running this script for the first time. This script # will not work without a properly configured Git repo and credentials. # USAGE: pihole-cloudsync