mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-14 08:32:09 -05:00
libaudit: drop unused file
Drop init script from libaudit package. It will be added to the
'audit' package in the packages feed.
Fixes: efdf619f21 ("audit: build only libaudit")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
395ac4d018
commit
93ed51e5b6
@ -1,16 +0,0 @@
|
|||||||
#!/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
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user