diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-08-24 01:04:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-08-24 01:04:24 +0000 |
commit | 96a749f7febcf3e740c03fa79c567ab024ac0f2d (patch) | |
tree | 51b3778fef2627c960420b02b2e0d7e449137231 | |
parent | Just release the ap hold, don't re-associate (diff) | |
download | baselayout-96a749f7febcf3e740c03fa79c567ab024ac0f2d.tar.gz baselayout-96a749f7febcf3e740c03fa79c567ab024ac0f2d.tar.bz2 baselayout-96a749f7febcf3e740c03fa79c567ab024ac0f2d.zip |
Add RC_DMESG_LEVEL for people to control the dmesg console loglevel at boot time #142810 by Viktors Rotanovs.
svn path=/branches/baselayout-1_12/; revision=2208
-rw-r--r-- | etc/conf.d/rc | 5 | ||||
-rwxr-xr-x | sbin/rc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/etc/conf.d/rc b/etc/conf.d/rc index ee41ba43..a73159e4 100644 --- a/etc/conf.d/rc +++ b/etc/conf.d/rc @@ -140,6 +140,11 @@ RC_DEVICE_TARBALL="no" RC_SWAP_ERASE="no" +# RC_DMESG_LEVEL sets the level at which logging of messages is done to the +# console. See dmesg(8) for more info. + +RC_DMESG_LOGLEVEL="1" + @@ -202,7 +202,7 @@ then # Set the console loglevel to 1 for a cleaner boot # the logger should anyhow dump the ring-0 buffer at start to the # logs, and that with dmesg can be used to check for problems - /bin/dmesg -n 1 + ${RC_DMESG_LEVEL+/bin/dmesg -n ${RC_DMESG_LEVEL}} echo echo -e "${GOOD}Gentoo Linux${GENTOO_VERS}; ${BRACKET}http://www.gentoo.org/${NORMAL}" |