aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/system')
-rw-r--r--systemd/system/fedora-sysinit-unhack.service3
-rw-r--r--systemd/system/mandriva-boot-links.service11
-rw-r--r--systemd/system/mandriva-clean-var-run-lock.service16
-rw-r--r--systemd/system/mandriva-everytime.service12
-rw-r--r--systemd/system/mandriva-kmsg-loglevel.service9
-rw-r--r--systemd/system/mandriva-save-dmesg.service11
6 files changed, 61 insertions, 1 deletions
diff --git a/systemd/system/fedora-sysinit-unhack.service b/systemd/system/fedora-sysinit-unhack.service
index 86e20cd6..221d8bb1 100644
--- a/systemd/system/fedora-sysinit-unhack.service
+++ b/systemd/system/fedora-sysinit-unhack.service
@@ -1,8 +1,9 @@
[Unit]
-Description=Bootup hack
+Description=Bootup unhack
DefaultDependencies=no
Conflicts=shutdown.target
Before=shutdown.target
+After=fedora-sysinit-hack.service sysinit.target
[Service]
Type=oneshot
diff --git a/systemd/system/mandriva-boot-links.service b/systemd/system/mandriva-boot-links.service
new file mode 100644
index 00000000..202dfc58
--- /dev/null
+++ b/systemd/system/mandriva-boot-links.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Setup links in /boot for running kernel
+DefaultDependencies=no
+Requires=local-fs.target
+Conflicts=shutdown.target
+After=local-fs.target
+Before=shutdown.target
+
+[Service]
+ExecStart=-/lib/systemd/mandriva-boot-links
+Type=oneshot
diff --git a/systemd/system/mandriva-clean-var-run-lock.service b/systemd/system/mandriva-clean-var-run-lock.service
new file mode 100644
index 00000000..e8feaacb
--- /dev/null
+++ b/systemd/system/mandriva-clean-var-run-lock.service
@@ -0,0 +1,16 @@
+# This file is part of initscripts.
+#
+# Implement /var/run and /var/lock clean up that is part of standard
+# rc.sysinit but cannot be expressed using tmpfiles.d
+
+[Unit]
+Description=Cleanup of /var/run and /var/lock
+DefaultDependencies=no
+Wants=local-fs.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
+Before=systemd-tmpfiles-setup.service sysinit.target shutdown.target
+
+[Service]
+Type=oneshot
+ExecStart=-/usr/bin/find /var/lock /var/run -depth ! -type d ! -path /var/lock/TMP_1ST -delete
+IOSchedulingClass=idle
diff --git a/systemd/system/mandriva-everytime.service b/systemd/system/mandriva-everytime.service
new file mode 100644
index 00000000..68fa89d9
--- /dev/null
+++ b/systemd/system/mandriva-everytime.service
@@ -0,0 +1,12 @@
+[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
diff --git a/systemd/system/mandriva-kmsg-loglevel.service b/systemd/system/mandriva-kmsg-loglevel.service
new file mode 100644
index 00000000..dc89d5ac
--- /dev/null
+++ b/systemd/system/mandriva-kmsg-loglevel.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Set default kernel console loglevel
+DefaultDependencies=no
+Conflicts=shutdown.target
+
+[Service]
+EnvironmentFile=/etc/sysconfig/init
+ExecStart=/bin/dmesg -n $LOGLEVEL
+Type=oneshot
diff --git a/systemd/system/mandriva-save-dmesg.service b/systemd/system/mandriva-save-dmesg.service
new file mode 100644
index 00000000..c53f350d
--- /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=udev-settle.service local-fs.target
+Before=shutdown.target
+Wants=udev.service udev-settle.service
+
+[Service]
+ExecStart=-/lib/systemd/mandriva-save-dmesg
+Type=oneshot