mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
SVN-Revision: 27400
This commit is contained in:
parent
6e7b802297
commit
32731a72c2
@ -27,9 +27,13 @@ system_config() {
|
|||||||
config_get log_type "$cfg" log_type circular
|
config_get log_type "$cfg" log_type circular
|
||||||
config_get log_file "$cfg" log_file "/var/log/messages"
|
config_get log_file "$cfg" log_file "/var/log/messages"
|
||||||
if [ "$log_type" = "file" ]; then
|
if [ "$log_type" = "file" ]; then
|
||||||
syslogd -s $log_size -O $log_file ${log_ip:+-L -R ${log_ip}:${log_port}} -S
|
syslogd -s $log_size -O $log_file \
|
||||||
|
${log_ip:+-L -R ${log_ip}:${log_port}} \
|
||||||
|
${conloglevel:+-l $conloglevel} -S
|
||||||
else
|
else
|
||||||
syslogd -C${log_size} ${log_ip:+-L -R ${log_ip}:${log_port}}
|
syslogd -C${log_size} \
|
||||||
|
${log_ip:+-L -R ${log_ip}:${log_port}} \
|
||||||
|
${conloglevel:+-l $conloglevel}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
config_get klogconloglevel "$cfg" klogconloglevel
|
config_get klogconloglevel "$cfg" klogconloglevel
|
||||||
|
Loading…
Reference in New Issue
Block a user