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:
		| @@ -10,7 +10,10 @@ depend() | |||||||
|  |  | ||||||
| start() | start() | ||||||
| { | { | ||||||
|  | 	local quiet | ||||||
|  | 	yesno $rc_verbose || quiet=-q | ||||||
|  |  | ||||||
| 	ebegin "Configuring kernel parameters" | 	ebegin "Configuring kernel parameters" | ||||||
| 	sysctl --system | 	sysctl ${quiet} --system | ||||||
| 	eend $? "Unable to configure some kernel parameters" | 	eend $? "Unable to configure some kernel parameters" | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user