Date: Wed, 5 Aug 2015 17:38:02 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r286329 - in head/etc: defaults rc.d Message-ID: <201508051738.t75Hc2MP038354@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Wed Aug 5 17:38:02 2015 New Revision: 286329 URL: https://svnweb.freebsd.org/changeset/base/286329 Log: 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 Modified: head/etc/defaults/rc.conf head/etc/rc.d/rctl Modified: head/etc/defaults/rc.conf ============================================================================== --- head/etc/defaults/rc.conf Wed Aug 5 17:21:42 2015 (r286328) +++ head/etc/defaults/rc.conf Wed Aug 5 17:38:02 2015 (r286329) @@ -664,7 +664,7 @@ opensm_enable="NO" # Opensm(8) for infin 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) Modified: head/etc/rc.d/rctl ============================================================================== --- head/etc/rc.d/rctl Wed Aug 5 17:21:42 2015 (r286328) +++ head/etc/rc.d/rctl Wed Aug 5 17:38:02 2015 (r286329) @@ -10,6 +10,7 @@ . /etc/rc.subr name="rctl" +rcvar="rctl_enable" start_cmd="rctl_start" stop_cmd="rctl_stop"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508051738.t75Hc2MP038354>