diff options
Diffstat (limited to 'templates/system/syslog/console/facility/node.def')
-rw-r--r-- | templates/system/syslog/console/facility/node.def | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/templates/system/syslog/console/facility/node.def b/templates/system/syslog/console/facility/node.def index bfe3856f..c5d0d76f 100644 --- a/templates/system/syslog/console/facility/node.def +++ b/templates/system/syslog/console/facility/node.def @@ -1,11 +1,8 @@ tag: type: txt help: "Configure facility for console 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 '$(@)\\.' '\\/dev\\/console' \ \\\"$(@).\\\\\$LVL\t/dev/console\n\\\"\" " -update: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \ -/opt/vyatta/sbin/vyatta_update_syslog.pl '$(@)\\.' '\\/dev\\/console' \ -\\\"$(@).\\\\\$LVL\t/dev/console\n\\\"\" " -delete: "sh -c \"/opt/vyatta/sbin/vyatta_update_syslog.pl \ +delete: "sudo sh -c \"/opt/vyatta/sbin/vyatta_update_syslog.pl \ '$(@)\\.' '\\/dev\\/console' ''\" " |