From 9c903ba22d8aae4ef42bbd989194e6bdf2780be1 Mon Sep 17 00:00:00 2001 From: Gaurav Sinha Date: Mon, 14 May 2012 13:53:31 -0700 Subject: add vyatta-cthelper.pl, disable nodes, add/remove functions for chain --- templates-cfg/system/conntrack/modules/nfs/disable/node.def | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 templates-cfg/system/conntrack/modules/nfs/disable/node.def (limited to 'templates-cfg/system/conntrack/modules/nfs/disable') diff --git a/templates-cfg/system/conntrack/modules/nfs/disable/node.def b/templates-cfg/system/conntrack/modules/nfs/disable/node.def new file mode 100644 index 0000000..90f9103 --- /dev/null +++ b/templates-cfg/system/conntrack/modules/nfs/disable/node.def @@ -0,0 +1,7 @@ +help: disable NFS protocol connection tracking helper + +end: if [ ${COMMIT_ACTION} = 'DELETE' ]; then + sudo /opt/vyatta/bin/sudo-users/vyatta-cthelper.pl --enable_nfs=nfs + else + sudo /opt/vyatta/bin/sudo-users/vyatta-cthelper.pl --disable_nfs=nfs + fi; -- cgit v1.2.3