cp, not ln

This commit is contained in:
Maurice
2025-10-01 12:46:10 +02:00
parent 54e9492d79
commit fcca20714e
6 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/sh
ln -sf $(pwd)/rules.nft /etc/nftables.d/firewall.nft
cp -f $(pwd)/rules.nft /etc/nftables.d/firewall.nft
echo "Reloading firewall rules..."
nft -f /etc/nftables.nft