20 lines
377 B
Plaintext
20 lines
377 B
Plaintext
|
#!/sbin/openrc-run
|
||
|
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
|
||
|
# Released under the 2-clause BSD license.
|
||
|
|
||
|
depend()
|
||
|
{
|
||
|
before bootmisc logger
|
||
|
keyword -prefix -systemd-nspawn -vserver
|
||
|
}
|
||
|
|
||
|
start()
|
||
|
{
|
||
|
local quiet
|
||
|
yesno $rc_verbose || quiet=-q
|
||
|
|
||
|
ebegin "Configuring kernel parameters"
|
||
|
sysctl ${quiet} --system
|
||
|
eend $? "Unable to configure some kernel parameters"
|
||
|
}
|