libaudit: drop unused file
authorDaniel Golle <daniel@makrotopia.org>
Mon, 31 Aug 2020 23:31:22 +0000 (00:31 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 31 Aug 2020 23:32:54 +0000 (00:32 +0100)
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>
package/libs/libaudit/files/audit.init [deleted file]

diff --git a/package/libs/libaudit/files/audit.init b/package/libs/libaudit/files/audit.init
deleted file mode 100644 (file)
index 4a9f538..0000000
+++ /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
-}