#!/bin/sh
#
# cgconfig Control Groups Configuration Startup
-# chkconfig: - 5 95
+# chkconfig: 2345 05 95
# description: This script runs the cgconfigparser utility to parse and setup \
# the control group filesystem. It uses /etc/cgconfig.conf \
# and parses the configuration specified in there.
# Find all mounted subsystems and create comma-separated list
# of controllers.
#
- controllers=`lssubsys 2>/dev/null | awk '{ if (v) v=v","$0 ; else v=$0 } END { printf v }'`
+ controllers=$(lssubsys 2>/dev/null | awk '{ if (v) v=v","$0 ; else v=$0 } END { printf "%s", v }')
#
# Create the default group, ignore errors when the default group