8 lines
342 B
Bash
Executable File
8 lines
342 B
Bash
Executable File
#!/bin/bash
|
|
wget -c https://deb.debian.org/debian/pool/main/p/pdnsd/pdnsd_1.2.9a-par-2_amd64.deb
|
|
sudo apt -y install ./pdnsd_1.2.9a-par-2_amd64.deb
|
|
sudo sed -i s/START_DAEMON=no/START_DAEMON=yes/g /etc/default/pdnsd
|
|
sudo cp /etc/pdnsd.conf /etc/pdnsd.conf.orig
|
|
sudo cp ../pdnsd/pdnsd.conf /etc/pdnsd.conf
|
|
sudo systemctl restart pdnsd.service
|