$_MOUNT -t cgroup -o "$CGROUP_SUBSYS" vserver "$CGROUP_MNT"
}
+function umount_cgroup()
+{
+ _generateCgroupOptions
+ test -n "$CGROUP_MNT" || return 0
+ $_UMOUNT "$CGROUP_MNT"
+}
+
function start()
{
_beginResult $"Creating required directories"
kill_contexts
_endResult $?
local retval=$?
+ if hasCgroup; then
+ _beginResult $"Unmounting cgroup-hierarchy"
+ umount_cgroup
+ _endResult $?
+ fi
$_RM -f "$lockfile"
return $retval
}