Core 165: Export location DB in new format.
Commit Message
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
config/rootfiles/core/165/update.sh | 6 ++++++
1 file changed, 6 insertions(+)
Comments
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
> On 18 Feb 2022, at 05:07, Stefan Schantl <stefan.schantl@ipfire.org> wrote:
>
> Signed-off-by: Stefan Schantl <stefan.schantl@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
>
@@ -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