forked from extern/shorewall_code
Fix module loading once again
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2115 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
030f01c690
commit
0c2c50f6ee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user