diff options
author | Joshua Lock <josh@linux.intel.com> | 2012-01-11 11:06:19 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-01-19 01:16:28 -0800 |
commit | 0afa9a63a83ee128dac522af70e1f823b7d6a6df (patch) | |
tree | 28110bfb38f524271c620232cb11360f509a3ffb /meta/recipes-core/busybox/files/syslog | |
parent | bbf44dddcc473ca085fa5b2dda5f89c22ec31cc0 (diff) | |
download | openembedded-core-contrib-0afa9a63a83ee128dac522af70e1f823b7d6a6df.tar.gz |
busybox: enable dropping of duplicates in syslog, off by default
Busybox syslog includes functionality to drop duplicated syslog entries,
enable this feature in the defconfig yet disable it by default.
Expose configuration of the feature through the syslog-startup.conf file
and the syslog init script.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/busybox/files/syslog')
-rw-r--r-- | meta/recipes-core/busybox/files/syslog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/files/syslog b/meta/recipes-core/busybox/files/syslog index deeea8ba65..2944d3d06c 100644 --- a/meta/recipes-core/busybox/files/syslog +++ b/meta/recipes-core/busybox/files/syslog @@ -40,6 +40,9 @@ if [ -f /etc/syslog-startup.conf ]; then if [ "$REDUCE" = "yes" ]; then SYSLOG_ARGS="$SYSLOG_ARGS -S" fi + if [ "$DROPDUPLICATES" = "yes" ]; then + SYSLOG_ARGS="$SYSLOG_ARGS -D" + fi if [ -n "$LOGLEVEL" ]; then SYSLOG_ARGS="$SYSLOG_ARGS -l $LOGLEVEL" fi |