~ubuntu-branches/ubuntu/quantal/lxc/quantal-201205292108

« back to all changes in this revision

Viewing changes to src/lxc/lxc-checkconfig.in

  • Committer: Package Import Robot
  • Author(s): Daniel Baumann, Jonas Genannt, Daniel Baumann
  • Date: 2011-08-22 11:36:00 UTC
  • mfrom: (1.1.10 upstream)
  • mto: This revision was merged to the branch mainline in revision 40.
  • Revision ID: package-import@ubuntu.com-20110822113600-4ab12s3qlynykbm4
Tags: 0.7.5-1
[ Jonas Genannt ]
* Merging upstream version 0.7.5.

[ Daniel Baumann ]
* Removing fedora.patch, not needed anymore for updated fedora
  template.
* Rediffing debian.patch.
* Rediffing debian2.patch.
* Renaming and renumbering patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
echo -n "Multiple /dev/pts instances: " && is_enabled DEVPTS_MULTIPLE_INSTANCES
63
63
echo
64
64
echo "--- Control groups ---"
 
65
 
 
66
CGROUP_MNT_PATH=$(grep -m1 "^cgroup" /proc/self/mounts | awk '{ print $2 }')
 
67
 
65
68
echo -n "Cgroup: " && is_enabled CONFIG_CGROUPS yes
66
 
echo -n "Cgroup namespace: " && is_enabled CONFIG_CGROUP_NS
 
69
 
 
70
if [ -f $CGROUP_MNT_PATH/cgroup.clone_children ]; then
 
71
    echo -n "Cgroup clone_children flag: " &&
 
72
    $SETCOLOR_SUCCESS && echo -e "enabled" && $SETCOLOR_NORMAL
 
73
else
 
74
    echo -n "Cgroup namespace: " && is_enabled CONFIG_CGROUP_NS yes
 
75
fi
67
76
echo -n "Cgroup device: " && is_enabled CONFIG_CGROUP_DEVICE
68
77
echo -n "Cgroup sched: " && is_enabled CONFIG_CGROUP_SCHED
69
78
echo -n "Cgroup cpu account: " && is_enabled CONFIG_CGROUP_CPUACCT