# check whether kernal has CGROUP support
if [[ ! -d /sys/fs/cgroup/ ]];then
    message ${PROBLEM_COLOR} \
kernel does not have CGROUP support which is now required by elogind\n\
please rebuild your kernel and try again\n\
            ${DEFAULT_COLOR} &&
    return 1
fi
return 0
