Verified Commit 10cbf0c4 authored by Bastien Durel's avatar Bastien Durel
Browse files

correct save

parent c5f9ece5
Pipeline #1016 failed with stages
in 10 seconds
nftables-persistant (0.2) buster; urgency=medium
* Corrected save
-- Bastien Durel <bastien@durel.org> Thu, 08 Aug 2019 11:31:39 +0200
nftables-persistant (0.1) buster; urgency=medium
* Initial Release.
......
......@@ -23,11 +23,11 @@ save_rules()
{
#save rules
if [ $(which nft) ]; then
echo "Warning: missing nft, not saving"
else
touch /etc/nftables.conf
chmod 0640 /etc/nftables.conf
nft list ruleset > /etc/nftables.conf
else
echo "Warning: missing nft, not saving"
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment