Save the ipset after running the creation script

This commit is contained in:
Firepup Sixfifty 2024-12-30 23:21:33 -06:00
parent beb6f4a934
commit 3d5ca31de3
Signed by: Firepup650
SSH key fingerprint: SHA256:cb8sEJwc0kQJ6/nMUhscWRe35itf0NFMdSKl3v4qt48

View file

@ -6,4 +6,5 @@ done
while read line; do while read line; do
echo "banning $line..." echo "banning $line..."
sudo ipset add fuck-off $line sudo ipset add fuck-off $line
done < "master.txt" done < "master.txt"
sudo ipset save fuck-off > fuck-off.ipset