From 0c2c50f6ee542bdd80804f49ac6e4932eb321cc7 Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 15 May 2005 15:14:02 +0000 Subject: [PATCH] Fix module loading once again git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2115 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall2/shorewall | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Shorewall2/shorewall b/Shorewall2/shorewall index 275948f21..295e4cc3c 100755 --- a/Shorewall2/shorewall +++ b/Shorewall2/shorewall @@ -631,7 +631,10 @@ save_config() { echo >> $f echo ". /usr/share/shorewall/functions" >> $f echo >> $f - grep -E '^MODULE|loadmodule ip_set' /var/lib/shorewall/restore-base >> $f + grep '^MODULE' /var/lib/shorewall/restore-base >> $f + echo "reload_kernel_modules << __EOF__" >> $f + grep 'loadmodule ip_set' /var/lib/shorewall/restore-base >> $f + echo "__EOF__" >> $f echo >> $f echo "ipset -U :all: :all:" >> $f echo "ipset -F" >> $f