summaryrefslogtreecommitdiff
path: root/templates/system
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2008-03-07 17:45:13 -0800
committerMohit Mehta <mohit@vyatta.com>2008-03-07 17:45:13 -0800
commit24ef67eff28ab1f9c7217bef403931be9c1ea994 (patch)
tree63766a902b85dcab4adccfa76edf7d57f6a06b60 /templates/system
parent38063621a29910b631561ecce6e5b524b09233e4 (diff)
downloadvyatta-cfg-system-24ef67eff28ab1f9c7217bef403931be9c1ea994.tar.gz
vyatta-cfg-system-24ef67eff28ab1f9c7217bef403931be9c1ea994.zip
Fix Bug 2707 Missing from Glendale
- system syslog file name not accepted anymore until facility or archive is specified
Diffstat (limited to 'templates/system')
-rw-r--r--templates/system/syslog/file/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/system/syslog/file/node.def b/templates/system/syslog/file/node.def
index 3861dd53..fa4fd7d0 100644
--- a/templates/system/syslog/file/node.def
+++ b/templates/system/syslog/file/node.def
@@ -2,3 +2,4 @@ tag:
type: txt
help: Name of the syslog file to save log messages to
syntax:expression: pattern $VAR(@) "^[-a-zA-Z0-9_.]+$" ; "invalid file name $VAR(@)"
+commit:expression: $VAR(./facility/) != "" || $VAR(./archive/) != ""; "Must specify either facility or archive for syslog file"