Update pihole-sync

This commit is contained in:
2021-05-31 21:16:04 -05:00
parent d8a2b0cdc0
commit a9ca160cb5

View File

@@ -162,7 +162,7 @@ pull () {
echo 'Remote Git repo is different than local Pi-hole lists. Updating local lists...';
# Remove -q option if you don't want to run in "quiet" mode
git fetch --all -q
git reset --hard origin/master -q
git reset --hard origin/main -q
$SUDO service pihole-FTL stop
cp $custom_list $pihole_dir
cp $cname_list $dnsmasq_dir