From e5284e6329545fedeffec1a39d37326e3643f33a Mon Sep 17 00:00:00 2001
From: jl <jl@joaolino.com>
Date: Mon, 24 May 2021 21:52:51 +0000
Subject: [PATCH] add net container deploy file

---
 containers/net/deploy.ash | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100755 containers/net/deploy.ash

diff --git a/containers/net/deploy.ash b/containers/net/deploy.ash
new file mode 100755
index 0000000..45ffe44
--- /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
-- 
2.24.1