diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-01 21:52:20 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-04-01 21:54:22 +0200 |
commit | 0529371bc587e2fcdd8794061e9bb9d60c792c43 (patch) | |
tree | 88450de8709421970caa225da69e11371b949ea1 | |
parent | f1c51884fb62d3917e92af51d4219e291c7a8e74 (diff) | |
download | vyos-1x-0529371bc587e2fcdd8794061e9bb9d60c792c43.tar.gz vyos-1x-0529371bc587e2fcdd8794061e9bb9d60c792c43.zip |
init: T3355: always use full nft command name (e.g. --file over -f)
-rwxr-xr-x | src/init/vyos-router | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/vyos-router b/src/init/vyos-router index adf892371..06fea140d 100755 --- a/src/init/vyos-router +++ b/src/init/vyos-router @@ -430,7 +430,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 |