mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
network initskript: enable netfilter accounting.
This commit is contained in:
@@ -6,6 +6,7 @@ opt/pakfire/etc/pakfire.conf
|
|||||||
etc/rc.d/init.d/partresize
|
etc/rc.d/init.d/partresize
|
||||||
etc/rc.d/init.d/firewall
|
etc/rc.d/init.d/firewall
|
||||||
etc/rc.d/init.d/fsresize
|
etc/rc.d/init.d/fsresize
|
||||||
|
etc/rc.d/init.d/network
|
||||||
etc/rc.d/init.d/sendsignals
|
etc/rc.d/init.d/sendsignals
|
||||||
etc/rc.d/init.d/setclock
|
etc/rc.d/init.d/setclock
|
||||||
etc/rc.d/init.d/tmpfs
|
etc/rc.d/init.d/tmpfs
|
||||||
|
|||||||
@@ -28,6 +28,9 @@ init_networking() {
|
|||||||
(exit ${failed})
|
(exit ${failed})
|
||||||
evaluate_retval
|
evaluate_retval
|
||||||
|
|
||||||
|
# Enable netfilter accounting
|
||||||
|
sysctl net.netfilter.nf_conntrack_acct=1 > /dev/null
|
||||||
|
|
||||||
if [ -e /var/ipfire/main/disable_nf_sip ]; then
|
if [ -e /var/ipfire/main/disable_nf_sip ]; then
|
||||||
rmmod nf_nat_sip
|
rmmod nf_nat_sip
|
||||||
rmmod nf_conntrack_sip
|
rmmod nf_conntrack_sip
|
||||||
|
|||||||
Reference in New Issue
Block a user