Update dnsf_install.sh
This commit is contained in:
@@ -7,6 +7,7 @@ apt update
|
|||||||
apt install -y python3-bpfcc python3-pip bpfcc-tools ipset
|
apt install -y python3-bpfcc python3-pip bpfcc-tools ipset
|
||||||
pip install --break-system-packages dnslib psutil
|
pip install --break-system-packages dnslib psutil
|
||||||
mkdir -p /etc/dnsf/
|
mkdir -p /etc/dnsf/
|
||||||
mv ./dnsf.service /etc/systemd/system
|
cp dnsf.service /etc/systemd/system
|
||||||
mv ./ /etc/dnsf/
|
cp host_whitelist.conf /etc/dnsf/
|
||||||
|
cp dns_whitelist.conf /etc/dnsf/
|
||||||
systemctl enable dnsf.service
|
systemctl enable dnsf.service
|
||||||
|
|||||||
Reference in New Issue
Block a user