summaryrefslogtreecommitdiff
path: root/templates/system/syslog/global/archive/files/node.def
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2009-07-14 12:09:24 -0700
committerBob Gilligan <gilligan@vyatta.com>2009-07-14 12:12:30 -0700
commit7bd63492ed2521f34b240749dc747df0dbc00d7e (patch)
treea6a947c6ed975201e6c16ed6f55bcb63594f9a38 /templates/system/syslog/global/archive/files/node.def
parent884b55b5f8de380d304f4ffda9a64270e5e1a070 (diff)
downloadvyatta-cfg-system-7bd63492ed2521f34b240749dc747df0dbc00d7e.tar.gz
vyatta-cfg-system-7bd63492ed2521f34b240749dc747df0dbc00d7e.zip
Bugfix 4708: Eliminate use of "update" in non-leaf valueless nodes.
Diffstat (limited to 'templates/system/syslog/global/archive/files/node.def')
-rw-r--r--templates/system/syslog/global/archive/files/node.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/system/syslog/global/archive/files/node.def b/templates/system/syslog/global/archive/files/node.def
index 59869a51..8755bbe6 100644
--- a/templates/system/syslog/global/archive/files/node.def
+++ b/templates/system/syslog/global/archive/files/node.def
@@ -1,3 +1,9 @@
type: u32
+
help: Set number of saved files
+
default: 5
+
+update:
+ sudo sh -c "/opt/vyatta/sbin/vyatta_update_logrotate.pl \
+ '$VAR(@)' '$VAR(../size/@)' 1"