diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-10-07 05:35:26 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-10-07 05:35:26 -0500 |
commit | 91f77a6c971c7cb36f271d51e011f72de9a2ff96 (patch) | |
tree | 13d39da81249b3a5dd48cd44b99a6a3b1a04cdc3 | |
parent | 52855127970e0728b49bdebb258da1c498056814 (diff) | |
download | abslibre-91f77a6c971c7cb36f271d51e011f72de9a2ff96.tar.gz abslibre-91f77a6c971c7cb36f271d51e011f72de9a2ff96.tar.bz2 abslibre-91f77a6c971c7cb36f271d51e011f72de9a2ff96.zip |
openrc-desktop: Adding cgmanager.install
-rw-r--r-- | pcr/openrc-desktop/cgmanager.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pcr/openrc-desktop/cgmanager.install b/pcr/openrc-desktop/cgmanager.install new file mode 100644 index 000000000..3a72d6894 --- /dev/null +++ b/pcr/openrc-desktop/cgmanager.install @@ -0,0 +1,16 @@ +_svc="cgmanager" +_rlvl="default" + +post_install() { + _cmd="rc-update add ${_svc} ${_rlvl}" + echo " ==> run '${_cmd}'" +} + +post_upgrade() { + post_install "$1" +} + +post_remove() { + _cmd="rc-update del ${_svc} ${_rlvl}" + echo " ==> run '${_cmd}'" +} |