aboutsummaryrefslogtreecommitdiffstats
path: root/mageia/usr/lib
diff options
context:
space:
mode:
Diffstat (limited to 'mageia/usr/lib')
-rwxr-xr-xmageia/usr/lib/systemd/mandriva-save-dmesg4
-rw-r--r--mageia/usr/lib/systemd/system/mandriva-save-dmesg.service2
2 files changed, 1 insertions, 5 deletions
diff --git a/mageia/usr/lib/systemd/mandriva-save-dmesg b/mageia/usr/lib/systemd/mandriva-save-dmesg
deleted file mode 100755
index 92562fcc..00000000
--- a/mageia/usr/lib/systemd/mandriva-save-dmesg
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-[ -f /var/log/dmesg ] && mv -f /var/log/dmesg /var/log/dmesg.old
-dmesg -s 131072 > /var/log/dmesg
diff --git a/mageia/usr/lib/systemd/system/mandriva-save-dmesg.service b/mageia/usr/lib/systemd/system/mandriva-save-dmesg.service
index 386e263e..d783b228 100644
--- a/mageia/usr/lib/systemd/system/mandriva-save-dmesg.service
+++ b/mageia/usr/lib/systemd/system/mandriva-save-dmesg.service
@@ -6,7 +6,7 @@ After=systemd-udev-settle.service local-fs.target
Before=shutdown.target
[Service]
-ExecStart=-/lib/systemd/mandriva-save-dmesg
+ExecStart=-/usr/libexec/mageia-save-dmesg
Type=oneshot
RemainAfterExit=yes