summaryrefslogtreecommitdiff
path: root/templates-cfg/system/conntrack/modules/sqlnet/disable
diff options
context:
space:
mode:
authorGaurav Sinha <gaurav.sinha@vyatta.com>2012-06-06 21:02:41 -0700
committerGaurav Sinha <gaurav.sinha@vyatta.com>2012-06-06 21:02:41 -0700
commit1a5d31c8eae4ad66c86ed66602128afc811d18e3 (patch)
treee9473b64a8ec4d648a55757df44a79f6afd9fe93 /templates-cfg/system/conntrack/modules/sqlnet/disable
parent15f68c59c5836a731a7a76e6c04da170edd53f58 (diff)
parent3d0f8a19a4a58b5b93cdde90ef963f0708c73063 (diff)
downloadvyatta-conntrack-1a5d31c8eae4ad66c86ed66602128afc811d18e3.tar.gz
vyatta-conntrack-1a5d31c8eae4ad66c86ed66602128afc811d18e3.zip
Merge branch 'user_space_helpers' into pacifica
Conflicts: lib/Vyatta/Conntrack/ConntrackUtil.pm
Diffstat (limited to 'templates-cfg/system/conntrack/modules/sqlnet/disable')
-rw-r--r--templates-cfg/system/conntrack/modules/sqlnet/disable/node.def7
1 files changed, 7 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;