Make rctl_enable rc variable actually work. To avoid breaking existing

setups that worked before, flip the default to "YES".  Most people don't
have /etc/rctl.conf, so they won't be affected in any way.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2015-08-05 17:38:02 +00:00
parent fb396e55da
commit ebce46b2c6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286329
2 changed files with 2 additions and 1 deletions

View File

@ -664,7 +664,7 @@ opensm_enable="NO" # Opensm(8) for infiniband devices defaults to off
casperd_enable="YES" # casperd(8) daemon
# rctl(8) requires kernel options RACCT and RCTL
rctl_enable="NO" # Load rctl(8) rules on boot
rctl_enable="YES" # Load rctl(8) rules on boot
rctl_rules="/etc/rctl.conf" # rctl(8) ruleset. See rctl.conf(5).
iovctl_files="" # Config files for iovctl(8)

View File

@ -10,6 +10,7 @@
. /etc/rc.subr
name="rctl"
rcvar="rctl_enable"
start_cmd="rctl_start"
stop_cmd="rctl_stop"