summaryrefslogtreecommitdiff
path: root/templates-cfg/system
diff options
context:
space:
mode:
Diffstat (limited to 'templates-cfg/system')
-rw-r--r--templates-cfg/system/conntrack/timeout/custom/node.def12
1 files changed, 1 insertions, 11 deletions
diff --git a/templates-cfg/system/conntrack/timeout/custom/node.def b/templates-cfg/system/conntrack/timeout/custom/node.def
index 94039fe..4421b83 100644
--- a/templates-cfg/system/conntrack/timeout/custom/node.def
+++ b/templates-cfg/system/conntrack/timeout/custom/node.def
@@ -1,13 +1,3 @@
help: Define custom timeouts per connection
-end: if sudo /opt/vyatta/bin/sudo-users/vyatta-conntrack-timeouts.pl --update 'true';
- then
- if [ ${COMMIT_ACTION} = 'DELETE' ] ;
- then
- sudo /opt/vyatta/bin/sudo-users/vyatta-conntrack-timeouts.pl --delete 'true';
- fi
- else
- exit 1;
- fi
-
-create: sudo /opt/vyatta/bin/sudo-users/vyatta-conntrack-timeouts.pl --create 'true'
+end:expression: "sudo /opt/vyatta/bin/sudo-users/vyatta-conntrack-timeouts.pl"