From: Christopher McCrory <chrismcc@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] bind sed
Date: Tue, 27 Feb 2018 04:39:24 -0800 [thread overview]
Message-ID: <20180227123924.20725-3-chrismcc@gmail.com> (raw)
In-Reply-To: <20180227123924.20725-1-chrismcc@gmail.com>
sed script to alter directory locations
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
---
package/bind/configs.sed | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644 package/bind/configs.sed
diff --git a/package/bind/configs.sed b/package/bind/configs.sed
new file mode 100644
index 0000000000..809da8e10c
--- /dev/null
+++ b/package/bind/configs.sed
@@ -0,0 +1,9 @@
+s#/var/run/named/pid#/var/run/named.pid#
+s#/var/dump/named_dump.db#/var/named/named_dump.db#
+s#/var/stats/named.stats#/var/named/named.stats#
+s#%%ETCDIR%%/master#/etc/bind/master#
+s#%%ETCDIR%%/named.root#/etc/bind/master/named.root#
+s#%%ETCDIR%%/working#/var/named#
+s#%%ETCDIR%%/slave#/var/named/slave#
+s#%%ETCDIR%%/dynamic#/var/named/dynamic#
+
--
2.14.3
next prev parent reply other threads:[~2018-02-27 12:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-27 12:39 [Buildroot] [PATCH 1/3] bind BIND_PKGDIR Christopher McCrory
2018-02-27 12:39 ` [Buildroot] [PATCH 2/3] bind config files Christopher McCrory
2018-02-27 21:32 ` Thomas Petazzoni
2018-02-27 12:39 ` Christopher McCrory [this message]
2018-02-27 21:25 ` [Buildroot] [PATCH 3/3] bind sed Thomas Petazzoni
2018-02-27 21:23 ` [Buildroot] [PATCH 1/3] bind BIND_PKGDIR Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180227123924.20725-3-chrismcc@gmail.com \
--to=chrismcc@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox