6770a6b1ce
reported-by: <Walter@pratyeka.org> X-Gentoo-Bug: 436266 X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=436266
19 lines
317 B
Plaintext
19 lines
317 B
Plaintext
#!@PREFIX@/sbin/runscript
|
|
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
|
|
# Released under the 2-clause BSD license.
|
|
|
|
description="Set the dmesg level for a cleaner boot"
|
|
|
|
depend()
|
|
{
|
|
before dev modules
|
|
keyword -lxc -prefix -vserver
|
|
}
|
|
|
|
start()
|
|
{
|
|
if [ -n "$dmesg_level" ]; then
|
|
dmesg -n$dmesg_level
|
|
fi
|
|
}
|