diff options
Diffstat (limited to 'templates-cfg/system')
-rw-r--r-- | templates-cfg/system/conntrack/modules/nfs/disable/node.def | 7 | ||||
-rw-r--r-- | templates-cfg/system/conntrack/modules/sqlnet/disable/node.def | 7 |
2 files changed, 14 insertions, 0 deletions
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; 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; |