diff options
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 357ae3f31d..2fec48c4f5 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -27,9 +27,13 @@ system_config() { config_get log_type "$cfg" log_type circular config_get log_file "$cfg" log_file "/var/log/messages" 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 - 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 config_get klogconloglevel "$cfg" klogconloglevel |