Skip to content

Instantly share code, notes, and snippets.

@KoffeinKaio
KoffeinKaio / sync_fb_dnsmasq.sh
Created November 28, 2018 20:09
sync fb host entrys to piholes list
#!/bin/bash
FB_IP=192.168.100.1
PIHOLE_LIST=/opt/pihole/etc/fb-sync.list
#0 if pihole is standalone, 1if its running in docker
DOCKER_ACTIVE=1
DOCKER_IP=192.168.100.10
DOCKER_PORT=2376
DOCKER_PIHOLE_NAME='pi-hole'