Differences
This shows you the differences between two versions of the page.
| Both sides previous revision
Previous revision
|
|
syncing_pihole_bash [2022/01/22 00:29] warmachine |
syncing_pihole_bash [2022/01/22 00:30] (current) warmachine |
| #!/bin/bash | #!/bin/bash |
| cat banner.txt | cat banner.txt |
| sshpass -f '/home/warmachine/dnsreppw/pw' scp /etc/dnsmasq.d/05-custom.conf warmachine@192.168.1.30:/etc/dnsmasq.d/05-custom.conf | sshpass -f '/home/yourusername/dnsreppw/pw' scp /etc/dnsmasq.d/05-custom.conf yourusername@192.168.1.30:/etc/dnsmasq.d/05-custom.conf |
| sshpass -f '/home/warmachine/dnsreppw/pw' scp /etc/dnsmasq.d/05-pihole-custom-cname.conf warmachine@192.168.1.30:/etc/dnsmasq.d/05-pihole-custom-cname.conf | sshpass -f '/home/yourusername/dnsreppw/pw' scp /etc/dnsmasq.d/05-pihole-custom-cname.conf yourusername@192.168.1.30:/etc/dnsmasq.d/05-pihole-custom-cname.conf |
| sshpass -f '/home/warmachine/dnsreppw/pw' ssh warmachine@192.168.1.30 'sudo systemctl restart pihole-FTL.service' | sshpass -f '/home/yourusername/dnsreppw/pw' ssh yourusername@192.168.1.30 'sudo systemctl restart pihole-FTL.service' |
| echo "." | echo "." |
| echo "." | echo "." |