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" _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"