install.sh: fix error concerning the file name of /etc/default nft-fw.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user