Make sysctl on Linux respect rc_verbose setting

We do not need to spam the console with variable settings by default.
This fixes #51.

X-Gentoo-Bug: 541922
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=541922
This commit is contained in:
William Hubbs 2015-04-03 11:10:58 -05:00
parent c068762c4c
commit 3e9bb3b021

View File

@ -10,7 +10,10 @@ depend()
start()
{
local quiet
yesno $rc_verbose || quiet=-q
ebegin "Configuring kernel parameters"
sysctl --system
sysctl ${quiet} --system
eend $? "Unable to configure some kernel parameters"
}