diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-04-10 06:26:20 +0000 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-04-10 06:26:20 +0000 |
commit | c5b2e6f32bd19406c4b7f48a674062b585fa76e0 (patch) | |
tree | 99180b2d97a16894dc0efc0a70c495ef227a84f6 /templates/system/syslog/file | |
parent | 6bc8b5bad9e4e82ec70a930067268f96b633d416 (diff) | |
download | vyatta-cfg-system-c5b2e6f32bd19406c4b7f48a674062b585fa76e0.tar.gz vyatta-cfg-system-c5b2e6f32bd19406c4b7f48a674062b585fa76e0.zip |
Fix Bug 3069 Help strings should be standardized
-help strings standardized in vyatta-cfg-system
Diffstat (limited to 'templates/system/syslog/file')
6 files changed, 6 insertions, 6 deletions
diff --git a/templates/system/syslog/file/node.def b/templates/system/syslog/file/node.def index fa4fd7d0..e2c7759f 100644 --- a/templates/system/syslog/file/node.def +++ b/templates/system/syslog/file/node.def @@ -1,5 +1,5 @@ tag: type: txt -help: Name of the syslog file to save log messages to +help: Set the name of 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" diff --git a/templates/system/syslog/file/node.tag/archive/files/node.def b/templates/system/syslog/file/node.tag/archive/files/node.def index 86fc3808..59869a51 100644 --- a/templates/system/syslog/file/node.tag/archive/files/node.def +++ b/templates/system/syslog/file/node.tag/archive/files/node.def @@ -1,3 +1,3 @@ type: u32 -help: Number of saved files +help: Set number of saved files default: 5 diff --git a/templates/system/syslog/file/node.tag/archive/node.def b/templates/system/syslog/file/node.tag/archive/node.def index 002003f4..ad1d239f 100644 --- a/templates/system/syslog/file/node.tag/archive/node.def +++ b/templates/system/syslog/file/node.tag/archive/node.def @@ -1,4 +1,4 @@ -help: Configure log file size and rotation characteristics +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(../@)' '$VAR(files/@)' '$VAR(size/@)' 1\" " diff --git a/templates/system/syslog/file/node.tag/archive/size/node.def b/templates/system/syslog/file/node.tag/archive/size/node.def index 57955185..11cde386 100644 --- a/templates/system/syslog/file/node.tag/archive/size/node.def +++ b/templates/system/syslog/file/node.tag/archive/size/node.def @@ -1,3 +1,3 @@ type: u32 -help: Size of log files (kbytes) +help: Set size of log files (kbytes) default: 0 diff --git a/templates/system/syslog/file/node.tag/facility/node.def b/templates/system/syslog/file/node.tag/facility/node.def index 7711d6a0..bfa6341d 100644 --- a/templates/system/syslog/file/node.tag/facility/node.def +++ b/templates/system/syslog/file/node.tag/facility/node.def @@ -1,6 +1,6 @@ tag: type: txt -help: Configure facility for file logging +help: Set facility for file logging syntax:expression: $VAR(@) in "auth", "authpriv", "cron", "daemon", "kern", "lpr", "mail", "mark", "news", "security", "syslog", "user", "uucp", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "all"; "\"$VAR(@)\" is not a valid logging facility" update:expression: "sudo sh -c \"LVL=`echo -n $VAR(level/@) | tr '[a-z]' '[A-Z]'` && \ FAC='$VAR(@)' ; if [ x\\$FAC == xall ]; then FAC='*'; fi && \ diff --git a/templates/system/syslog/file/node.tag/facility/node.tag/level/node.def b/templates/system/syslog/file/node.tag/facility/node.tag/level/node.def index dd03ec9d..a8eaa0e6 100644 --- a/templates/system/syslog/file/node.tag/facility/node.tag/level/node.def +++ b/templates/system/syslog/file/node.tag/facility/node.tag/level/node.def @@ -1,5 +1,5 @@ type: txt -help: Configure the logging level +help: Set the logging level syntax:expression: $VAR(@) in "emerg", "alert", "crit", "err", "warning", "notice", "info", "debug"; "\"$VAR(@)\" is not a valid logging level" default: "err" comp_help:Logging levels in descending order of severity: |