update.sh: Fix path

Message ID 20210306143152.25820-1-matthias.fischer@ipfire.org
State Accepted
Commit ea6fa0bcef42d3f33fef845c17af8148b6846084
Headers
Series update.sh: Fix path |

Commit Message

Matthias Fischer March 6, 2021, 2:31 p.m. UTC
  Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
 config/rootfiles/core/155/update.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Michael Tremer March 6, 2021, 4:47 p.m. UTC | #1
Very good catch.

I tested the command but on a different file and messed up the path :)

-Michael

> On 6 Mar 2021, at 14:31, Matthias Fischer <matthias.fischer@ipfire.org> wrote:
> 
> Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
> ---
> config/rootfiles/core/155/update.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/config/rootfiles/core/155/update.sh b/config/rootfiles/core/155/update.sh
> index fd0626588..1434ce666 100644
> --- a/config/rootfiles/core/155/update.sh
> +++ b/config/rootfiles/core/155/update.sh
> @@ -62,7 +62,7 @@ ldconfig
> 
> # Disable all connection tracking helper
> sed -E -e "s/^CONNTRACK_(.*?)=on/CONNTRACK_\1=off/g" \
> -	-i /var/ipfire/firewall/optionsfw
> +	-i /var/ipfire/optionsfw/settings
> 
> # Update Language cache
> /usr/local/bin/update-lang-cache
> -- 
> 2.18.0
>
  

Patch

diff --git a/config/rootfiles/core/155/update.sh b/config/rootfiles/core/155/update.sh
index fd0626588..1434ce666 100644
--- a/config/rootfiles/core/155/update.sh
+++ b/config/rootfiles/core/155/update.sh
@@ -62,7 +62,7 @@  ldconfig
 
 # Disable all connection tracking helper
 sed -E -e "s/^CONNTRACK_(.*?)=on/CONNTRACK_\1=off/g" \
-	-i /var/ipfire/firewall/optionsfw
+	-i /var/ipfire/optionsfw/settings
 
 # Update Language cache
 /usr/local/bin/update-lang-cache