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