summaryrefslogtreecommitdiffstats
path: root/external/poky/meta/recipes-core/initscripts/initscripts-1.0/logrotate-dmesg.conf
diff options
context:
space:
mode:
Diffstat (limited to 'external/poky/meta/recipes-core/initscripts/initscripts-1.0/logrotate-dmesg.conf')
-rw-r--r--external/poky/meta/recipes-core/initscripts/initscripts-1.0/logrotate-dmesg.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/external/poky/meta/recipes-core/initscripts/initscripts-1.0/logrotate-dmesg.conf b/external/poky/meta/recipes-core/initscripts/initscripts-1.0/logrotate-dmesg.conf
new file mode 100644
index 00000000..6f46e421
--- /dev/null
+++ b/external/poky/meta/recipes-core/initscripts/initscripts-1.0/logrotate-dmesg.conf
@@ -0,0 +1,9 @@
+# see "man logrotate" for details
+# rotate dmesg, and keep 5 versions.
+
+/var/log/dmesg {
+ create
+ rotate 5
+ nodateext
+}
+