aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/mandriva-save-dmesg
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/mandriva-save-dmesg')
-rwxr-xr-xsystemd/mandriva-save-dmesg4
1 files changed, 4 insertions, 0 deletions
diff --git a/systemd/mandriva-save-dmesg b/systemd/mandriva-save-dmesg
new file mode 100755
index 00000000..92562fcc
--- /dev/null
+++ b/systemd/mandriva-save-dmesg
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+[ -f /var/log/dmesg ] && mv -f /var/log/dmesg /var/log/dmesg.old
+dmesg -s 131072 > /var/log/dmesg