From a7219d871d43893550dddb37a05b75959a778dca Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 1 Nov 2011 00:51:16 +0700 Subject: Rename "generic" timeout options to "other". --- templates/system/conntrack/timeout/generic/node.def | 13 ------------- templates/system/conntrack/timeout/other/node.def | 13 +++++++++++++ templates/system/conntrack/timeout/udp/generic/node.def | 13 ------------- templates/system/conntrack/timeout/udp/other/node.def | 13 +++++++++++++ 4 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 templates/system/conntrack/timeout/generic/node.def create mode 100644 templates/system/conntrack/timeout/other/node.def delete mode 100644 templates/system/conntrack/timeout/udp/generic/node.def create mode 100644 templates/system/conntrack/timeout/udp/other/node.def diff --git a/templates/system/conntrack/timeout/generic/node.def b/templates/system/conntrack/timeout/generic/node.def deleted file mode 100644 index a794bb76..00000000 --- a/templates/system/conntrack/timeout/generic/node.def +++ /dev/null @@ -1,13 +0,0 @@ -type: u32 - -help: Generic connection timeout in seconds - -default: 600 - -val_help: u32:1-21474836; Generic connection timeout in seconds - -syntax:expression: ($VAR(@) >= 1 && $VAR(@) <= 21474836) ; "Value must be between 1 and 21474836" - -update: sudo sysctl -q -w net/netfilter/nf_conntrack_generic_timeout=$VAR(@) - -delete: sudo sysctl -q -w net/netfilter/nf_conntrack_generic_timeout=600 diff --git a/templates/system/conntrack/timeout/other/node.def b/templates/system/conntrack/timeout/other/node.def new file mode 100644 index 00000000..a794bb76 --- /dev/null +++ b/templates/system/conntrack/timeout/other/node.def @@ -0,0 +1,13 @@ +type: u32 + +help: Generic connection timeout in seconds + +default: 600 + +val_help: u32:1-21474836; Generic connection timeout in seconds + +syntax:expression: ($VAR(@) >= 1 && $VAR(@) <= 21474836) ; "Value must be between 1 and 21474836" + +update: sudo sysctl -q -w net/netfilter/nf_conntrack_generic_timeout=$VAR(@) + +delete: sudo sysctl -q -w net/netfilter/nf_conntrack_generic_timeout=600 diff --git a/templates/system/conntrack/timeout/udp/generic/node.def b/templates/system/conntrack/timeout/udp/generic/node.def deleted file mode 100644 index 0018f1c0..00000000 --- a/templates/system/conntrack/timeout/udp/generic/node.def +++ /dev/null @@ -1,13 +0,0 @@ -type: u32 - -help: UDP generic timeout in seconds - -default: 30 - -val_help: u32:1-21474836; UDP generic timeout in seconds - -syntax:expression: ($VAR(@) >= 1 && $VAR(@) <= 21474836) ; "Value must be between 1 and 21474836" - -update: sudo sysctl -q -w net/netfilter/nf_conntrack_udp_timeout=$VAR(@) - -delete: sudo sysctl -q -w net/netfilter/nf_conntrack_udp_timeout=30 diff --git a/templates/system/conntrack/timeout/udp/other/node.def b/templates/system/conntrack/timeout/udp/other/node.def new file mode 100644 index 00000000..0018f1c0 --- /dev/null +++ b/templates/system/conntrack/timeout/udp/other/node.def @@ -0,0 +1,13 @@ +type: u32 + +help: UDP generic timeout in seconds + +default: 30 + +val_help: u32:1-21474836; UDP generic timeout in seconds + +syntax:expression: ($VAR(@) >= 1 && $VAR(@) <= 21474836) ; "Value must be between 1 and 21474836" + +update: sudo sysctl -q -w net/netfilter/nf_conntrack_udp_timeout=$VAR(@) + +delete: sudo sysctl -q -w net/netfilter/nf_conntrack_udp_timeout=30 -- cgit v1.2.3