Add the conloglevel option (#1682)

SVN-Revision: 7613
This commit is contained in:
Florian Fainelli 2007-06-13 17:41:54 +00:00
parent 27a7fa73ee
commit 440f537f48

View File

@ -10,6 +10,9 @@ system_config() {
config_get hostname "$cfg" hostname
echo "${hostname:-OpenWrt}" > /proc/sys/kernel/hostname
config_get conloglevel "$cfg" conloglevel
[ -n "$conloglevel" ] && dmesg -n "$conloglevel"
config_get log_ip "$cfg" log_ip
syslogd -C16 ${log_ip:+-L -R $log_ip}
klogd