mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
ff0bb196eb
Changes: - new URL for sources (old address is dead) - daemon and utils from packages feed are merged in here - only build once - no need to update at the same time in both places - update to v3.1.4 - removed unneeded patches - added audisp-syslog - removed audispd (no longer exists) - rename and move to package/utils/audit - update new path in one dependent package Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
17 lines
349 B
Bash
17 lines
349 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (c) 2014 OpenWrt.org
|
|
|
|
START=11
|
|
|
|
USE_PROCD=1
|
|
PROG=/usr/sbin/auditd
|
|
|
|
start_service() {
|
|
mkdir -p /var/log/audit
|
|
procd_open_instance
|
|
procd_set_param command "$PROG" -n
|
|
procd_set_param respawn
|
|
procd_close_instance
|
|
test -f /etc/audit/rules.d/audit.rules && /usr/sbin/auditctl -R /etc/audit/rules.d/audit.rules
|
|
}
|