Move enabling nf_conntrack_acct where it should be.

This commit is contained in:
Michael Tremer
2014-02-14 12:52:28 +01:00
parent 7d7740a467
commit 1108a15cc6
2 changed files with 3 additions and 3 deletions

View File

@@ -28,3 +28,6 @@ vm.min_free_kbytes = 8192
# Disable IPv6 by default.
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
# Enable netfilter accounting
net.netfilter.nf_conntrack_acct=1

View File

@@ -28,9 +28,6 @@ init_networking() {
(exit ${failed})
evaluate_retval
# Enable netfilter accounting
sysctl net.netfilter.nf_conntrack_acct=1 > /dev/null
if [ -e /var/ipfire/main/disable_nf_sip ]; then
rmmod nf_nat_sip
rmmod nf_conntrack_sip