2013-12-21 14:51:11 -06:00
|
|
|
#!@SBINDIR@/openrc-run
|
2009-05-01 15:11:40 +01:00
|
|
|
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
|
2011-06-29 19:46:31 -04:00
|
|
|
# Released under the 2-clause BSD license.
|
2008-10-10 08:37:21 +00:00
|
|
|
|
|
|
|
description="Set the dmesg level for a cleaner boot"
|
|
|
|
|
|
|
|
depend()
|
|
|
|
{
|
|
|
|
before dev modules
|
2015-04-28 21:03:49 -04:00
|
|
|
keyword -lxc -prefix -systemd-nspawn -vserver
|
2008-10-10 08:37:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
start()
|
|
|
|
{
|
2009-04-27 07:51:18 +00:00
|
|
|
if [ -n "$dmesg_level" ]; then
|
|
|
|
dmesg -n$dmesg_level
|
2008-10-10 08:37:21 +00:00
|
|
|
fi
|
|
|
|
}
|