From 1ca7c0c6e18e788ecb335bf947e333c451bc892c Mon Sep 17 00:00:00 2001 From: jordanrinke Date: Fri, 13 Jun 2014 12:52:21 -0700 Subject: [PATCH] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 09b0e392..f6b16482 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,6 @@ ipsets-persistent ================= init.d script for iptables-persistent on Debian/Ubuntu that also saves/loads ipsets + + +I added checking for and saving ipsets. sets are saved in the same place as the other rules in a file named rules.ipset. Rules are only saved if they are defined, same with flushing and loading. Instead of checking to see if ipset is installed on the load, I just check for the rules.ipset file, since if that doesn't exist loading does't make sense. There might be better ways to do it, feel free to submit a pull etc. this is just the way I made it work for me.