deploy.ash 364 Bytes
Newer Older
João Lino's avatar
João Lino committed
1 2 3 4 5 6 7 8 9 10 11
#!/bin/ash
apk add dnsmasq
cp /etc/dnsmasq.conf /etc/dnsmasq.conf.bkp
rm /etc/dnsmasq.conf
cp /root/deploy/containers/net/dnsmasq.conf /etc/
cp /root/deploy/containers/net/resolv.dnsmasq /etc/
cp /root/deploy/containers/net/dnsmasq.blacklist.txt /root/
cp /root/deploy/containers/net/dnsmasq.yt.blacklist.txt /root/

rc-update add dnsmasq
rc-service dnsmasq start