summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/defaults/rc.conf2
-rwxr-xr-xetc/rc.d/rctl1
2 files changed, 2 insertions, 1 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 125d59e..fbe18db 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -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)
diff --git a/etc/rc.d/rctl b/etc/rc.d/rctl
index 567436b..93b200d 100755
--- a/etc/rc.d/rctl
+++ b/etc/rc.d/rctl
@@ -10,6 +10,7 @@
. /etc/rc.subr
name="rctl"
+rcvar="rctl_enable"
start_cmd="rctl_start"
stop_cmd="rctl_stop"
OpenPOWER on IntegriCloud