diff --git a/containers/net/deploy.ash b/containers/net/deploy.ash new file mode 100755 index 0000000000000000000000000000000000000000..45ffe4478ec1982eb9b10b5d1029e8c6dcdb3f67 --- /dev/null +++ b/containers/net/deploy.ash @@ -0,0 +1,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