diff options
author | Colin Guthrie <colin@mageia.org> | 2011-10-21 01:28:48 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-10-21 10:10:39 +0100 |
commit | be75c98a06d569fbaa2d86f92676af961795d094 (patch) | |
tree | e2ce8ce7ffb97af34164634a3fbd8630dc7463e8 /systemd/system | |
parent | 4688ea25c9a5a87e48f89fc91a3c93a7c8c95b4a (diff) | |
download | initscripts-be75c98a06d569fbaa2d86f92676af961795d094.tar initscripts-be75c98a06d569fbaa2d86f92676af961795d094.tar.gz initscripts-be75c98a06d569fbaa2d86f92676af961795d094.tar.bz2 initscripts-be75c98a06d569fbaa2d86f92676af961795d094.tar.xz initscripts-be75c98a06d569fbaa2d86f92676af961795d094.zip |
Add the mdkconf patch
Diffstat (limited to 'systemd/system')
-rw-r--r-- | systemd/system/fedora-sysinit-unhack.service | 3 | ||||
-rw-r--r-- | systemd/system/mandriva-boot-links.service | 11 | ||||
-rw-r--r-- | systemd/system/mandriva-clean-var-run-lock.service | 16 | ||||
-rw-r--r-- | systemd/system/mandriva-everytime.service | 12 | ||||
-rw-r--r-- | systemd/system/mandriva-kmsg-loglevel.service | 9 | ||||
-rw-r--r-- | systemd/system/mandriva-save-dmesg.service | 11 |
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 |