aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/audit/files/audit.init
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-08-31 21:49:36 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-08-31 21:51:45 +0100
commitefdf619f21aef269af1e329771d83365063ac4f7 (patch)
tree9af7cc029724acdb2fbfd84d2ab05ee5d1c326a6 /package/utils/audit/files/audit.init
parent2b141ad392d7e948bcc9e67c7e3acd9815d1f6b8 (diff)
downloadupstream-efdf619f21aef269af1e329771d83365063ac4f7.tar.gz
upstream-efdf619f21aef269af1e329771d83365063ac4f7.tar.bz2
upstream-efdf619f21aef269af1e329771d83365063ac4f7.zip
audit: build only libaudit
Turns out auditd depends on libev. Lets have that in packages.git. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/utils/audit/files/audit.init')
-rw-r--r--package/utils/audit/files/audit.init16
1 files changed, 0 insertions, 16 deletions
diff --git a/package/utils/audit/files/audit.init b/package/utils/audit/files/audit.init
deleted file mode 100644
index 4a9f53884b..0000000000
--- a/package/utils/audit/files/audit.init
+++ /dev/null
@@ -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
-}