diff options
author | David P <megver83@openmailbox.org> | 2017-09-26 22:18:27 -0300 |
---|---|---|
committer | David P <megver83@openmailbox.org> | 2017-09-26 22:18:27 -0300 |
commit | 889bd5eb1c9f4d6018fcfad65724c0a67cf0d8d1 (patch) | |
tree | b21b988db24618386bb6b3057c89dae4efe772b9 /pcr/openrc-security/apparmor.install | |
parent | de9f81790af660d848c317a686716673b62ae39b (diff) | |
download | abslibre-889bd5eb1c9f4d6018fcfad65724c0a67cf0d8d1.tar.gz abslibre-889bd5eb1c9f4d6018fcfad65724c0a67cf0d8d1.tar.bz2 abslibre-889bd5eb1c9f4d6018fcfad65724c0a67cf0d8d1.zip |
Added pcr/openrc-security
Diffstat (limited to 'pcr/openrc-security/apparmor.install')
-rw-r--r-- | pcr/openrc-security/apparmor.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pcr/openrc-security/apparmor.install b/pcr/openrc-security/apparmor.install new file mode 100644 index 000000000..a59542111 --- /dev/null +++ b/pcr/openrc-security/apparmor.install @@ -0,0 +1,12 @@ +_svc="apparmor" +_rlvl="boot" + +post_install() { + _cmd="rc-update add ${_svc} ${_rlvl}" + echo " ==> run '${_cmd}'" +} + +post_remove() { + _cmd="rc-update del ${_svc} ${_rlvl}" + echo " ==> run '${_cmd}'" +} |