aboutsummaryrefslogtreecommitdiffstats
path: root/mageia/usr/lib
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2020-08-04 15:50:43 +0200
committerOlav Vitters <olav@vitters.nl>2020-08-04 15:50:43 +0200
commit9cf7a96221e90ace9e4db220f9401aaee0935959 (patch)
tree92d32cbbcca7228d1e52c1c8690a0dabe94f6f5b /mageia/usr/lib
parentb65329583324399a78d63886cade03bef80e0175 (diff)
downloadinitscripts-9cf7a96221e90ace9e4db220f9401aaee0935959.tar
initscripts-9cf7a96221e90ace9e4db220f9401aaee0935959.tar.gz
initscripts-9cf7a96221e90ace9e4db220f9401aaee0935959.tar.bz2
initscripts-9cf7a96221e90ace9e4db220f9401aaee0935959.tar.xz
initscripts-9cf7a96221e90ace9e4db220f9401aaee0935959.zip
mandriva-save-dmesg: rename script (not service) to mageia-save-dmesg and move script to usr/libexec
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