install.sh: fix error concerning the file name of /etc/default nft-fw.

This commit is contained in:
2025-12-27 19:38:32 +01:00
parent fea1d9fdc0
commit 4739a87331

View File

@@ -18,7 +18,7 @@ install -m 0755 "$REPO_DIR/bin/fw-stop" /usr/local/sbin/fw-stop
say "Installing default config (won't overwrite existing)..." say "Installing default config (won't overwrite existing)..."
if [[ ! -f /etc/default/nft-fw ]]; then if [[ ! -f /etc/default/nft-fw ]]; then
install -m 0644 "$REPO_DIR/etc-default/nft-fw-nd-priv" /etc/default/nft-fw install -m 0644 "$REPO_DIR/etc-default/nft-fw" /etc/default/nft-fw
else else
say "Config already exists at /etc/default/nft-fw (leaving as-is)." say "Config already exists at /etc/default/nft-fw (leaving as-is)."
fi fi