diff options
Diffstat (limited to 'sh.Linux')
-rwxr-xr-x | sh.Linux/init.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |