cp, not ln
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user