summaryrefslogtreecommitdiff
path: root/templates-cfg/system/conntrack/modules/sqlnet
diff options
context:
space:
mode:
Diffstat (limited to 'templates-cfg/system/conntrack/modules/sqlnet')
-rw-r--r--templates-cfg/system/conntrack/modules/sqlnet/disable/node.def7
-rw-r--r--templates-cfg/system/conntrack/modules/sqlnet/node.def1
2 files changed, 8 insertions, 0 deletions
diff --git a/templates-cfg/system/conntrack/modules/sqlnet/disable/node.def b/templates-cfg/system/conntrack/modules/sqlnet/disable/node.def
new file mode 100644
index 0000000..aac316b
--- /dev/null
+++ b/templates-cfg/system/conntrack/modules/sqlnet/disable/node.def
@@ -0,0 +1,7 @@
+help: disable SQLnet protocol connection tracking helper
+
+end: if [ ${COMMIT_ACTION} = 'DELETE' ]; then
+ sudo /opt/vyatta/bin/sudo-users/vyatta-cthelper.pl --enable_sqlnet=sqlnet
+ else
+ sudo /opt/vyatta/bin/sudo-users/vyatta-cthelper.pl --disable_sqlnet=sqlnet
+ fi;
diff --git a/templates-cfg/system/conntrack/modules/sqlnet/node.def b/templates-cfg/system/conntrack/modules/sqlnet/node.def
new file mode 100644
index 0000000..a62048e
--- /dev/null
+++ b/templates-cfg/system/conntrack/modules/sqlnet/node.def
@@ -0,0 +1 @@
+help: SQLnet protocol connection tracking helper setting