blob: bfe3856f574fee05db9fa3ecdc41495b2e1a5251 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
tag:
type: txt
help: "Configure facility for console logging"
create: "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 \
'$(@)\\.' '\\/dev\\/console' ''\" "
|