From e6a610fbc7139130e4523965a167288da3b2d27f Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 26 Apr 2007 14:29:15 +0000 Subject: Don't dmesg for VPS systems --- sh.Linux/init.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sh.Linux/init.sh b/sh.Linux/init.sh index 6490c74f..bbc5e2c6 100755 --- a/sh.Linux/init.sh +++ b/sh.Linux/init.sh @@ -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 -- cgit v1.2.3