You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
349 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (c) 2014 OpenWrt.org
  3. START=11
  4. USE_PROCD=1
  5. PROG=/usr/sbin/auditd
  6. start_service() {
  7. mkdir -p /var/log/audit
  8. procd_open_instance
  9. procd_set_param command "$PROG" -n
  10. procd_set_param respawn
  11. procd_close_instance
  12. test -f /etc/audit/rules.d/audit.rules && /usr/sbin/auditctl -R /etc/audit/rules.d/audit.rules
  13. }