aboutsummaryrefslogtreecommitdiffstats
path: root/usr/lib/systemd/system
diff options
context:
space:
mode:
Diffstat (limited to 'usr/lib/systemd/system')
-rw-r--r--usr/lib/systemd/system/mandriva-everytime.service16
-rw-r--r--usr/lib/systemd/system/mandriva-save-dmesg.service14
2 files changed, 30 insertions, 0 deletions
diff --git a/usr/lib/systemd/system/mandriva-everytime.service b/usr/lib/systemd/system/mandriva-everytime.service
new file mode 100644
index 00000000..cc247dba
--- /dev/null
+++ b/usr/lib/systemd/system/mandriva-everytime.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Reconfigure the system on administrator request
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=basic.target shutdown.target
+After=local-fs.target dkms-autorebuild.service
+
+[Service]
+ExecStart=-/etc/init.d/mandrake_everytime
+Type=oneshot
+TimeoutSec=0
+StandardInput=tty
+RemainAfterExit=yes
+
+[Install]
+WantedBy=basic.target
diff --git a/usr/lib/systemd/system/mandriva-save-dmesg.service b/usr/lib/systemd/system/mandriva-save-dmesg.service
new file mode 100644
index 00000000..386e263e
--- /dev/null
+++ b/usr/lib/systemd/system/mandriva-save-dmesg.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Save boot dmesg content
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=systemd-udev-settle.service local-fs.target
+Before=shutdown.target
+
+[Service]
+ExecStart=-/lib/systemd/mandriva-save-dmesg
+Type=oneshot
+RemainAfterExit=yes
+
+[Install]
+WantedBy=shutdown.target