瀏覽代碼

package/sysklogd: replace local syslog.conf sample with upstream

This patch drops the local syslog.conf in favor of the one shipped with
sysklogd.  The upstream syslog.conf sample differs from the Buildroot
one primarily in shifting to /var/log/syslog as the default for log
messages.  It also comes with a dedicated /var/log/kern.log and some
commented-out filtering examples.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Joachim Wiberg 4 年之前
父節點
當前提交
cb2519da3b
共有 2 個文件被更改,包括 1 次插入10 次删除
  1. 1 1
      package/sysklogd/sysklogd.mk
  2. 0 9
      package/sysklogd/syslog.conf

+ 1 - 1
package/sysklogd/sysklogd.mk

@@ -25,7 +25,7 @@ SYSKLOGD_CONF_OPTS += --without-logger
 endif
 endif
 
 
 define SYSKLOGD_INSTALL_SAMPLE_CONFIG
 define SYSKLOGD_INSTALL_SAMPLE_CONFIG
-	$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
+	$(INSTALL) -D -m 0644 $(@D)/syslog.conf \
 		$(TARGET_DIR)/etc/syslog.conf
 		$(TARGET_DIR)/etc/syslog.conf
 endef
 endef
 
 

+ 0 - 9
package/sysklogd/syslog.conf

@@ -1,9 +0,0 @@
-# /etc/syslog.conf - Configuration file for syslogd
-
-auth,authpriv.*		/var/log/auth.log
-*.*;auth,authpriv.none	/var/log/messages
-user.*			/var/log/user.log
-
-*.emerg			*
-
-include /etc/syslog.d/*.conf