blob: cd037f6aacdd90d7288a6aecad13f6a5dde1c20a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
tag:
type: txt
help: "Configure facility for system logging"
create: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \
/opt/vyatta/sbin/vyatta_update_syslog.pl '' '\\/var\\/log\\/messages' \
\\\"$(@).\\\\\$LVL\t/var/log/messages \n\\\"\" "
update: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \
/opt/vyatta/sbin/vyatta_update_syslog.pl '' '\\/var\\/log\\/messages' \
\\\"$(@).\\\\\$LVL\t/var/log/messages \n\\\"\" "
delete: "sh -c \"/opt/vyatta/sbin/vyatta_update_syslog.pl \
'' '\\/var\\/log\\/messages' '*.warning\t/var/log/messages \n'\" "
|