2011-11-20 05:45:46 +05:30
|
|
|
#!@SHELL@
|
|
|
|
#
|
|
|
|
# This is run by the kernel after the last task is removed from a
|
|
|
|
# control group in the openrc hierarchy.
|
|
|
|
|
|
|
|
cgroup=/sys/fs/cgroup/openrc
|
|
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
2013-06-03 00:19:19 +05:30
|
|
|
if [ -d ${cgroup}/"$1" ]; then
|
|
|
|
rmdir ${cgroup}/"$1"
|
2011-11-20 05:45:46 +05:30
|
|
|
fi
|