From 24ef67eff28ab1f9c7217bef403931be9c1ea994 Mon Sep 17 00:00:00 2001
From: Mohit Mehta <mohit@vyatta.com>
Date: Fri, 7 Mar 2008 17:45:13 -0800
Subject: Fix Bug 2707 Missing from Glendale - system syslog file name not
 accepted anymore until facility or archive is specified

---
 templates/system/syslog/file/node.def | 1 +
 1 file changed, 1 insertion(+)

(limited to 'templates/system/syslog/file/node.def')

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"
-- 
cgit v1.2.3

