From e59537545e40756a893134c25eff533ccce3adb8 Mon Sep 17 00:00:00 2001
From: Daniil Baturin <daniil.baturin@vyatta.com>
Date: Fri, 4 Nov 2011 05:55:45 +0700
Subject: Move templates t templates-cfg to let op mode templates also exist.

---
 templates/system/conntrack/hash-size/node.def | 18 ------------------
 1 file changed, 18 deletions(-)
 delete mode 100644 templates/system/conntrack/hash-size/node.def

(limited to 'templates/system/conntrack/hash-size/node.def')

diff --git a/templates/system/conntrack/hash-size/node.def b/templates/system/conntrack/hash-size/node.def
deleted file mode 100644
index 242d0fe..0000000
--- a/templates/system/conntrack/hash-size/node.def
+++ /dev/null
@@ -1,18 +0,0 @@
-help: Hash size for connection tracking table
-type: u32
-
-default: 4096
-
-val_help: u32:1-50000000; Size of hash to use for connection tracking table
-
-syntax:expression: ($VAR(@) >= 1 && $VAR(@) <= 50000000) ; "Value must be between 1 and 50000000"
-
-update:
-        if ! grep -q "nf_conntrack hashsize=$VAR(@)$" /etc/modprobe.d/vyatta_nf_conntrack.conf
-        then
-          sudo sh -c "sed -i -e '/options nf_conntrack hashsize/d' \
-                /etc/modprobe.d/vyatta_nf_conntrack.conf"
-          sudo sh -c "echo options nf_conntrack hashsize=$VAR(@) >> \
-                /etc/modprobe.d/vyatta_nf_conntrack.conf"
-          echo "Updated conntrack hash size. This change will take affect when the system is rebooted."
-        fi
-- 
cgit v1.2.3

