mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-27 20:03:29 +08:00
Don't dmesg for VPS systems
This commit is contained in:
parent
33052124b5
commit
e6a610fbc7
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user