diff options
author | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2012-04-17 13:23:21 -0700 |
---|---|---|
committer | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2012-04-17 13:23:21 -0700 |
commit | 753b0cb5ca7e273d24d51333e238bde3e150e5ee (patch) | |
tree | f6555da2e5b83cec7b06da0fd7800e75f07214ba | |
parent | cc7d0c96369980eeda4c01fca1035dca4636243a (diff) | |
download | vyatta-conntrack-753b0cb5ca7e273d24d51333e238bde3e150e5ee.tar.gz vyatta-conntrack-753b0cb5ca7e273d24d51333e238bde3e150e5ee.zip |
fix help strings
4 files changed, 14 insertions, 2 deletions
diff --git a/templates-cfg/system/conntrack/modules/nfs/enable/node.def b/templates-cfg/system/conntrack/modules/nfs/enable/node.def index 130dd7f..3d07321 100644 --- a/templates-cfg/system/conntrack/modules/nfs/enable/node.def +++ b/templates-cfg/system/conntrack/modules/nfs/enable/node.def @@ -1,4 +1,4 @@ -help: enable nfs +help: enable NFS protocol connection tracking helper create:expression: "touch /tmp/vyatta-conntrack-sync" diff --git a/templates-cfg/system/conntrack/modules/nfs/node.def b/templates-cfg/system/conntrack/modules/nfs/node.def index ae4837a..3d1fb34 100644 --- a/templates-cfg/system/conntrack/modules/nfs/node.def +++ b/templates-cfg/system/conntrack/modules/nfs/node.def @@ -1 +1 @@ -help: enable NFS helper +help: NFS protocol connection tracking helper settting diff --git a/templates-cfg/system/conntrack/modules/sqlnet/enable/node.def b/templates-cfg/system/conntrack/modules/sqlnet/enable/node.def new file mode 100644 index 0000000..74186d6 --- /dev/null +++ b/templates-cfg/system/conntrack/modules/sqlnet/enable/node.def @@ -0,0 +1,11 @@ +help: enable SQLnet protocol connection tracking 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; 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 |