summaryrefslogtreecommitdiff
path: root/templates-cfg/system
diff options
context:
space:
mode:
Diffstat (limited to 'templates-cfg/system')
-rw-r--r--templates-cfg/system/conntrack/modules/SQLnet/enable/node.def2
-rw-r--r--templates-cfg/system/conntrack/modules/nfs/enable/node.def2
-rw-r--r--templates-cfg/system/conntrack/modules/node.def6
3 files changed, 10 insertions, 0 deletions
diff --git a/templates-cfg/system/conntrack/modules/SQLnet/enable/node.def b/templates-cfg/system/conntrack/modules/SQLnet/enable/node.def
index 6abee0a..1cbd130 100644
--- a/templates-cfg/system/conntrack/modules/SQLnet/enable/node.def
+++ b/templates-cfg/system/conntrack/modules/SQLnet/enable/node.def
@@ -1 +1,3 @@
help: enable SQLnet protocol helper
+
+create:expression: "touch /tmp/vyatta-conntrack-sync"
diff --git a/templates-cfg/system/conntrack/modules/nfs/enable/node.def b/templates-cfg/system/conntrack/modules/nfs/enable/node.def
index 136ab42..b2a2694 100644
--- a/templates-cfg/system/conntrack/modules/nfs/enable/node.def
+++ b/templates-cfg/system/conntrack/modules/nfs/enable/node.def
@@ -1 +1,3 @@
help: enable nfs
+
+create:expression: "touch /tmp/vyatta-conntrack-sync"
diff --git a/templates-cfg/system/conntrack/modules/node.def b/templates-cfg/system/conntrack/modules/node.def
index 25cba5d..c391511 100644
--- a/templates-cfg/system/conntrack/modules/node.def
+++ b/templates-cfg/system/conntrack/modules/node.def
@@ -1 +1,7 @@
help: Connection tracking modules settings
+
+end:expression: "if [ -f \"/tmp/vyatta-conntrack-sync\" ]; then \
+ sudo /opt/vyatta/sbin/vyatta-conntrack-sync.pl --action=enable; \
+ sudo rm \"/tmp/vyatta-conntrack-sync\"; \
+ fi"
+