summaryrefslogtreecommitdiff
path: root/templates-cfg/system/conntrack/modules/SQLnet/enable/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates-cfg/system/conntrack/modules/SQLnet/enable/node.def')
-rw-r--r--templates-cfg/system/conntrack/modules/SQLnet/enable/node.def11
1 files changed, 0 insertions, 11 deletions
diff --git a/templates-cfg/system/conntrack/modules/SQLnet/enable/node.def b/templates-cfg/system/conntrack/modules/SQLnet/enable/node.def
deleted file mode 100644
index 630d728..0000000
--- a/templates-cfg/system/conntrack/modules/SQLnet/enable/node.def
+++ /dev/null
@@ -1,11 +0,0 @@
-help: enable SQLnet protocol helper
-
-create:expression: "touch /tmp/vyatta-conntrack-sync"
-
-end: if [ ${COMMIT_ACTION} = 'DELETE' ]; then
- echo "sudo iptables -D VYATTA_CT_HELPER -t raw -p tcp --dport 1521 -j CT --helper sqlnet"
- echo "sudo iptables -D VYATTA_CT_HELPER -t raw -p tcp --dport 1525 -j CT --helper sqlnet"
- else
- echo "sudo iptables -I VYATTA_CT_HELPER -t raw -p tcp --dport 1521 -j CT --helper sqlnet"
- echo "sudo iptables -I VYATTA_CT_HELPER -t raw -p tcp --dport 1525 -j CT --helper sqlnet"
- fi;