|
#!/bin/sh -e
|
|
|
|
test ! -r ./conf || . ./conf
|
|
|
|
case "$USE_AUGENRULES" in
|
|
no|NO) ;;
|
|
*) test ! -d /etc/audit/rules.d || augenrules >/dev/null ;;
|
|
esac
|
|
|
|
test ! -f /etc/audit/audit.rules || auditctl -R /etc/audit/audit.rules >/dev/null
|
|
|
|
exec chpst -b auditctl pause
|