PREIN
/bin/sh
getent group cgred >/dev/null || groupadd -r cgred
PREUN
/bin/sh
/usr/share/rpm-helper/del-service libcgroup $1 cgconfig /usr/share/rpm-helper/del-service libcgroup $1 cgred
POSTIN
/bin/sh
/usr/share/rpm-helper/add-service libcgroup $1 cgred /usr/share/rpm-helper/add-service libcgroup $1 cgconfig