aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-06-13 17:41:54 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-06-13 17:41:54 +0000
commit440f537f481e25ede6b00f711d0512c5d45a6f40 (patch)
treea7d7f673fcdaa8cb905fedc4f9aa1a47cc19773e
parent27a7fa73eeb51d61d8c701a40910c42ed96bc890 (diff)
downloadupstream-440f537f481e25ede6b00f711d0512c5d45a6f40.tar.gz
upstream-440f537f481e25ede6b00f711d0512c5d45a6f40.tar.bz2
upstream-440f537f481e25ede6b00f711d0512c5d45a6f40.zip
Add the conloglevel option (#1682)
SVN-Revision: 7613
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot3
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