diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-06-13 17:41:54 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-06-13 17:41:54 +0000 |
commit | 440f537f481e25ede6b00f711d0512c5d45a6f40 (patch) | |
tree | a7d7f673fcdaa8cb905fedc4f9aa1a47cc19773e /package/base-files | |
parent | 27a7fa73eeb51d61d8c701a40910c42ed96bc890 (diff) | |
download | upstream-440f537f481e25ede6b00f711d0512c5d45a6f40.tar.gz upstream-440f537f481e25ede6b00f711d0512c5d45a6f40.tar.bz2 upstream-440f537f481e25ede6b00f711d0512c5d45a6f40.zip |
Add the conloglevel option (#1682)
SVN-Revision: 7613
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 528d922a28..7181f8b004 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -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 |