summaryrefslogtreecommitdiff
path: root/recipes-core/busybox
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/busybox')
-rw-r--r--recipes-core/busybox/busybox_1.22.1.bbappend2
-rw-r--r--recipes-core/busybox/files/syslog-startup.conf13
2 files changed, 15 insertions, 0 deletions
diff --git a/recipes-core/busybox/busybox_1.22.1.bbappend b/recipes-core/busybox/busybox_1.22.1.bbappend
index b6f475d..40094e9 100644
--- a/recipes-core/busybox/busybox_1.22.1.bbappend
+++ b/recipes-core/busybox/busybox_1.22.1.bbappend
@@ -1,3 +1,5 @@
+PR .= ".mlinux1"
+
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:${THISDIR}/files:"
SRC_URI += "file://udhcpd.conf.example"
diff --git a/recipes-core/busybox/files/syslog-startup.conf b/recipes-core/busybox/files/syslog-startup.conf
new file mode 100644
index 0000000..f4fb90b
--- /dev/null
+++ b/recipes-core/busybox/files/syslog-startup.conf
@@ -0,0 +1,13 @@
+# This configuration file is used by the busybox syslog init script,
+# /etc/init.d/syslog[.busybox] to set syslog configuration at start time.
+
+DESTINATION=file # log destinations (buffer file remote)
+LOGFILE=/var/log/messages # where to log (file)
+REMOTE=loghost:514 # where to log (syslog remote)
+REDUCE=no # reduce-size logging
+DROPDUPLICATES=no # whether to drop duplicate log entries
+ROTATESIZE=512 # rotate log if grown beyond X [kByte]
+ROTATEGENS=4 # keep X generations of rotated logs
+BUFFERSIZE=64 # size of circular buffer [kByte]
+FOREGROUND=no # run in foreground (don't use!)
+#LOGLEVEL=5 # local log level (between 1 and 8)