From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] Core 165: Export location DB in new format.
Date: Fri, 18 Feb 2022 06:07:42 +0100 [thread overview]
Message-ID: <20220218050742.10014-1-stefan.schantl@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 682 bytes --]
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
config/rootfiles/core/165/update.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/config/rootfiles/core/165/update.sh b/config/rootfiles/core/165/update.sh
index 7371d047a..564f58606 100644
--- a/config/rootfiles/core/165/update.sh
+++ b/config/rootfiles/core/165/update.sh
@@ -109,6 +109,12 @@ ldconfig
# Filesytem cleanup
/usr/local/bin/filesystem-cleanup
+# Export location DB in new format.
+/usr/bin/location export \
+ --directory=/var/lib/location/ipset \
+ --family=ipv4 \
+ --format=ipset
+
# Start services
telinit u
/etc/rc.d/init.d/firewall restart
--
2.30.2
next reply other threads:[~2022-02-18 5:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-18 5:07 Stefan Schantl [this message]
2022-02-18 8:26 ` Michael Tremer
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=20220218050742.10014-1-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/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