From 7796c6be0044398598445940d6d3e675203ad3f2 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 11 Oct 2011 14:34:18 +0700 Subject: Bug 5682: Remove common NAT update script call from templates, add scripts calls for source and destination parts. --- templates-cfg/nat/destination/node.def | 4 +++- templates-cfg/nat/node.def | 2 +- templates-cfg/nat/source/node.def | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/templates-cfg/nat/destination/node.def b/templates-cfg/nat/destination/node.def index 6fb1f43..8c723a0 100644 --- a/templates-cfg/nat/destination/node.def +++ b/templates-cfg/nat/destination/node.def @@ -1 +1,3 @@ -help: Destination NAT settings \ No newline at end of file +help: Destination NAT settings + +end:expression: "sudo /opt/vyatta/sbin/vyatta-update-dst-nat.pl" \ No newline at end of file diff --git a/templates-cfg/nat/node.def b/templates-cfg/nat/node.def index 63f8866..16d9f39 100644 --- a/templates-cfg/nat/node.def +++ b/templates-cfg/nat/node.def @@ -2,4 +2,4 @@ priority: 220 help: Network Address Translation (NAT) parameters -end:expression: "sudo /opt/vyatta/sbin/vyatta-update-nat.pl" +#end:expression: "sudo /opt/vyatta/sbin/vyatta-update-dst-nat.pl" diff --git a/templates-cfg/nat/source/node.def b/templates-cfg/nat/source/node.def index 5548be4..4c7cb17 100644 --- a/templates-cfg/nat/source/node.def +++ b/templates-cfg/nat/source/node.def @@ -1 +1,3 @@ -help: Source NAT settings \ No newline at end of file +help: Source NAT settings + +end:expression: "sudo /opt/vyatta/sbin/vyatta-update-src-nat.pl" \ No newline at end of file -- cgit v1.2.3