Don't dmesg for VPS systems

This commit is contained in:
Roy Marples 2007-04-26 14:29:15 +00:00
parent 33052124b5
commit e6a610fbc7

View File

@ -93,7 +93,9 @@ get_KV() {
# 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
${RC_DMESG_LEVEL+/bin/dmesg -n ${RC_DMESG_LEVEL}}
if [ -n "${RC_DMESG_LEVEL}" -a "${RC_SYS}" != "VPS" ] ; then
dmesg -n "${RC_DMESG_LEVEL}"
fi
check_statedir /proc