[openwrt/openwrt] libaudit: drop unused file

LEDE Commits lede-commits at lists.infradead.org
Mon Aug 31 19:33:19 EDT 2020


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/93ed51e5b6c6ad6a2e65b04b7b5066cf4e19e614

commit 93ed51e5b6c6ad6a2e65b04b7b5066cf4e19e614
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Tue Sep 1 00:31:22 2020 +0100

    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 at makrotopia.org>
---
 package/libs/libaudit/files/audit.init | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/package/libs/libaudit/files/audit.init b/package/libs/libaudit/files/audit.init
deleted file mode 100644
index 4a9f53884b..0000000000
--- a/package/libs/libaudit/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
-}



More information about the lede-commits mailing list