View Single Post
Posts: 151 | Thanked: 93 times | Joined on Sep 2009 @ sofia, bulgaria
#39
@karam,

after executing the cgroup_clean script, rc.local remains empty. I have bash installed anyway I tried both version ash and bash.
Also if rc.local does not exists the script do not create it.

I looked in you script and understand that infact this should be present in rc.local, so I add it manually.

mkdir -p /dev/cgroup/cpu
mount -t cgroup cgroup /dev/cgroup/cpu -o cpu
mkdir -m 0777 /dev/cgroup/cpu/user
echo "/usr/local/sbin/cgroup_clean" > /dev/cgroup/cpu/release_agent
 

The Following User Says Thank You to lidow For This Useful Post: