Pārlūkot izejas kodu

package/audit: ensure that it starts after the logging daemon

audit uses syslog(). Rename its init script to S02auditd to ensure that
it will start after syslogd. Otherwise the initial log messages will be
sent to the console (and probably lost, since almost nobody watches the
system console on embedded systems).

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Carlos Santos 6 gadi atpakaļ
vecāks
revīzija
6fe5fe4c4d
2 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 0 0
      package/audit/S02auditd
  2. 1 1
      package/audit/audit.mk

+ 0 - 0
package/audit/S01auditd → package/audit/S02auditd


+ 1 - 1
package/audit/audit.mk

@@ -38,7 +38,7 @@ AUDIT_CONF_OPTS += --disable-systemd
 endif
 
 define AUDIT_INSTALL_INIT_SYSV
-	$(INSTALL) -D -m 755 package/audit/S01auditd $(TARGET_DIR)/etc/init.d/S01auditd
+	$(INSTALL) -D -m 755 package/audit/S02auditd $(TARGET_DIR)/etc/init.d/S02auditd
 endef
 
 define AUDIT_INSTALL_INIT_SYSTEMD