mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-23 18:03:51 +08:00
11 lines
240 B
Bash
11 lines
240 B
Bash
#!@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
|
|
if [ -d ${cgroup}/"$1" ]; then
|
|
rmdir ${cgroup}/"$1"
|
|
fi
|