diff options
author | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2012-04-16 16:30:38 -0700 |
---|---|---|
committer | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2012-04-16 16:30:38 -0700 |
commit | 6c46c3a8616e5e59120b5b8bf8332dc543c2267f (patch) | |
tree | df9079b14bfcbb51f328020b3d37e3d90c2c835c /templates-cfg | |
parent | eae46378e616cf874305561cf9f8e4e8180a2c43 (diff) | |
download | vyatta-conntrack-6c46c3a8616e5e59120b5b8bf8332dc543c2267f.tar.gz vyatta-conntrack-6c46c3a8616e5e59120b5b8bf8332dc543c2267f.zip |
CLI to add nfs/SQLnet module helpers
Diffstat (limited to 'templates-cfg')
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" + |