summaryrefslogtreecommitdiff
path: root/templates/system/syslog/global/archive/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/node.def
parent884b55b5f8de380d304f4ffda9a64270e5e1a070 (diff)
downloadvyatta-cfg-quagga-7bd63492ed2521f34b240749dc747df0dbc00d7e.tar.gz
vyatta-cfg-quagga-7bd63492ed2521f34b240749dc747df0dbc00d7e.zip
Bugfix 4708: Eliminate use of "update" in non-leaf valueless nodes.
Diffstat (limited to 'templates/system/syslog/global/archive/node.def')
-rw-r--r--templates/system/syslog/global/archive/node.def9
1 files changed, 4 insertions, 5 deletions
diff --git a/templates/system/syslog/global/archive/node.def b/templates/system/syslog/global/archive/node.def
index 17d6c996..8c6110d3 100644
--- a/templates/system/syslog/global/archive/node.def
+++ b/templates/system/syslog/global/archive/node.def
@@ -1,6 +1,5 @@
help: Set log file size and rotation characteristics
-# need mandatory files & size
-update:expression: "sudo sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \
-'$VAR(files/@)' '$VAR(size/@)' 1\" "
-delete:expression: "sudo sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \
-'$VAR(files/@)' '$VAR(size/@)' 0\" "
+
+delete:
+ sudo sh -c "/opt/vyatta/sbin/vyatta_update_logrotate.pl \
+ '$VAR(files/@)' '$VAR(size/@)' 0"