From 33b031cc9005e51129719ff42d70bf50fb7f14e1 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 1 Apr 2024 21:52:20 +0200 Subject: init: T3355: always use full nft command name (e.g. --file over -f) (cherry picked from commit 0529371bc587e2fcdd8794061e9bb9d60c792c43) --- src/init/vyos-router | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/init/vyos-router b/src/init/vyos-router index 912a9ef3b..c2cb9169f 100755 --- a/src/init/vyos-router +++ b/src/init/vyos-router @@ -367,7 +367,7 @@ start () nfct helper add rpc inet6 tcp nfct helper add rpc inet6 udp nfct helper add tns inet6 tcp - nft -f /usr/share/vyos/vyos-firewall-init.conf || log_failure_msg "could not initiate firewall rules" + nft --file /usr/share/vyos/vyos-firewall-init.conf || log_failure_msg "could not initiate firewall rules" # As VyOS does not execute commands that are not present in the CLI we call # the script by hand to have a single source for the login banner and MOTD -- cgit v1.2.3