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:
parent
c068762c4c
commit
3e9bb3b021
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user