diff options
Diffstat (limited to 'templates/system/syslog/user')
-rw-r--r-- | templates/system/syslog/user/node.tag/facility/node.def | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/templates/system/syslog/user/node.tag/facility/node.def b/templates/system/syslog/user/node.tag/facility/node.def index 1b227471..6a5d7228 100644 --- a/templates/system/syslog/user/node.tag/facility/node.def +++ b/templates/system/syslog/user/node.tag/facility/node.def @@ -1,14 +1,10 @@ tag: type: txt help: "Configure facility for user logging" -create: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \ +update: "sudo sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \ /opt/vyatta/sbin/vyatta_update_syslog.pl \\\"$(@)\\.\\\\\$LVL\\\" \ ' $(../@) ' \ \\\"$(@).\\\\\$LVL $(../@) \n\\\"\" " -update: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \ -/opt/vyatta/sbin/vyatta_update_syslog.pl \\\"$(@)\\.\\\\\$LVL\\\" \ -' $(../@) ' \ -\\\"$(@).\\\\\$LVL $(../@) \n\\\"\" " -delete: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \ +delete: "sudo sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \ /opt/vyatta/sbin/vyatta_update_syslog.pl \\\"$(@)\\.\\\\\$LVL\\\" \ ' $(../@) ' ''\" " |