diff options
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}'" +} |