aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/system')
-rw-r--r--systemd/system/mandriva-everytime.service13
-rw-r--r--systemd/system/mandriva-kmsg-loglevel.service10
-rw-r--r--systemd/system/mandriva-save-dmesg.service11
3 files changed, 34 insertions, 0 deletions
diff --git a/systemd/system/mandriva-everytime.service b/systemd/system/mandriva-everytime.service
new file mode 100644
index 00000000..676f8671
--- /dev/null
+++ b/systemd/system/mandriva-everytime.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Reconfigure the system on administrator request
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=basic.target shutdown.target
+After=local-fs.target
+
+[Service]
+ExecStart=-/etc/init.d/mandrake_everytime
+Type=oneshot
+TimeoutSec=0
+StandardInput=tty
+RemainAfterExit=yes
diff --git a/systemd/system/mandriva-kmsg-loglevel.service b/systemd/system/mandriva-kmsg-loglevel.service
new file mode 100644
index 00000000..4e92e429
--- /dev/null
+++ b/systemd/system/mandriva-kmsg-loglevel.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Set default kernel console loglevel
+DefaultDependencies=no
+Conflicts=shutdown.target
+
+[Service]
+EnvironmentFile=/etc/sysconfig/init
+ExecStart=/bin/dmesg -n $LOGLEVEL
+Type=oneshot
+RemainAfterExit=yes
diff --git a/systemd/system/mandriva-save-dmesg.service b/systemd/system/mandriva-save-dmesg.service
new file mode 100644
index 00000000..5fd1bcaa
--- /dev/null
+++ b/systemd/system/mandriva-save-dmesg.service
@@ -0,0 +1,11 @@
+[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