Add configuration 45/43745/1
authorAleksander Zdyb <a.zdyb@samsung.com>
Mon, 29 Jun 2015 18:47:27 +0000 (20:47 +0200)
committerAleksander Zdyb <a.zdyb@samsung.com>
Fri, 10 Jul 2015 12:50:28 +0000 (14:50 +0200)
A config file is placed in /etc/audisp/plugins.d/ so nice-lad
could act as a audispd's plugin.

Change-Id: Ia66638e83e4c1e15d8024ae3a3e2eb1c116d0fb8

conf/CMakeLists.txt [new file with mode: 0644]
conf/nice_lad.conf.in [new file with mode: 0644]

diff --git a/conf/CMakeLists.txt b/conf/CMakeLists.txt
new file mode 100644 (file)
index 0000000..df4e837
--- /dev/null
@@ -0,0 +1,7 @@
+CONFIGURE_FILE(nice_lad.conf.in nice_lad.conf @ONLY)
+
+INSTALL(FILES
+    nice_lad.conf
+    DESTINATION
+    ${SYS_CONFIG_DIR}/audisp/plugins.d
+)
diff --git a/conf/nice_lad.conf.in b/conf/nice_lad.conf.in
new file mode 100644 (file)
index 0000000..2d35464
--- /dev/null
@@ -0,0 +1,4 @@
+active = yes
+direction = out
+path = @SBIN_DIR@/nice-lad
+type = always