diff options
Diffstat (limited to 'templates-cfg')
-rw-r--r-- | templates-cfg/system/conntrack/node.def | 7 | ||||
-rw-r--r-- | templates-cfg/system/conntrack/table-size/node.def | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/templates-cfg/system/conntrack/node.def b/templates-cfg/system/conntrack/node.def index 2ac9101..211c963 100644 --- a/templates-cfg/system/conntrack/node.def +++ b/templates-cfg/system/conntrack/node.def @@ -2,11 +2,6 @@ help: Connection tracking engine options priority: 218 # before NAT and conntrack-sync are configured -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" - delete: # set conntrack table size to standard 16384 entries if conntrack settings are removed sudo sysctl -q -w net/nf_conntrack_max=16384 @@ -25,5 +20,5 @@ delete: # set conntrack table size to standard 16384 entries if conntrack settin # need to restart conntrackd with updated conntrack table size if cli-shell-api existsActive service conntrack-sync; then - touch /tmp/vyatta-conntrack-sync + sudo /opt/vyatta/sbin/vyatta-conntrack-sync.pl --action=enable fi diff --git a/templates-cfg/system/conntrack/table-size/node.def b/templates-cfg/system/conntrack/table-size/node.def index 74cf58a..6b1decf 100644 --- a/templates-cfg/system/conntrack/table-size/node.def +++ b/templates-cfg/system/conntrack/table-size/node.def @@ -28,7 +28,7 @@ update: sudo sysctl -q -w net/nf_conntrack_max=$VAR(@) # need to restart conntrackd with updated conntrack table size if cli-shell-api existsActive service conntrack-sync; then - touch /tmp/vyatta-conntrack-sync + sudo /opt/vyatta/sbin/vyatta-conntrack-sync.pl --action=enable fi |