From abd7059425fceaf2b3c513537c80eef338dbf635 Mon Sep 17 00:00:00 2001
From: Daniil Baturin <daniil@baturin.org>
Date: Sun, 27 Apr 2014 01:18:09 +0200
Subject: Bug #185: ensure nf_conntrack_netlink module is loaded.

---
 templates-cfg/system/conntrack/log/node.def | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'templates-cfg/system/conntrack/log/node.def')

diff --git a/templates-cfg/system/conntrack/log/node.def b/templates-cfg/system/conntrack/log/node.def
index 83a613e..a73beff 100644
--- a/templates-cfg/system/conntrack/log/node.def
+++ b/templates-cfg/system/conntrack/log/node.def
@@ -1,3 +1,4 @@
 help: Log connection tracking events per protocol
 priority: 219 # failure at log shouldnt fail conntrack 
-end: sudo /opt/vyatta/sbin/vyatta-update-conntrack-log.pl
+end: [ -d /sys/module/nf_conntrack_netlink ] || sudo modprobe nf_conntrack_netlink
+     sudo /opt/vyatta/sbin/vyatta-update-conntrack-log.pl
-- 
cgit v1.2.3

