summaryrefslogtreecommitdiff
path: root/pcr/libcgroup/libcgroup.install
blob: a78216addc5f588f08b24b6e4917625f51e794c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
  getent group cgred &>/dev/null || groupadd -r -g 160 cgred >/dev/null
}

post_upgrade() {
  post_install
}

post_remove() {
  getent group cgred &>/dev/null && groupdel cgred >/dev/null
}