aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system/fedora-sysinit-hack.service
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-10-15 16:25:31 -0400
committerBill Nottingham <notting@redhat.com>2010-10-15 16:25:31 -0400
commit59b2f505ea603ef65823615711b5adfa87795f41 (patch)
treed5b42a97c7c6e964d920c51f39d890313b997b09 /systemd/system/fedora-sysinit-hack.service
parent675389f11ffaab590e9dedabc821e33745e3eb5c (diff)
downloadinitscripts-59b2f505ea603ef65823615711b5adfa87795f41.tar
initscripts-59b2f505ea603ef65823615711b5adfa87795f41.tar.gz
initscripts-59b2f505ea603ef65823615711b5adfa87795f41.tar.bz2
initscripts-59b2f505ea603ef65823615711b5adfa87795f41.tar.xz
initscripts-59b2f505ea603ef65823615711b5adfa87795f41.zip
Add split-out bits of rc.sysinit and associated service files. Remove sysinit.service. Based on work by Harald Hoyer (<harald@redhat.com>)
sysinit-hack/unhack will be removed once the net hotplug stuff is fixed to not require this.
Diffstat (limited to 'systemd/system/fedora-sysinit-hack.service')
-rw-r--r--systemd/system/fedora-sysinit-hack.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd/system/fedora-sysinit-hack.service b/systemd/system/fedora-sysinit-hack.service
new file mode 100644
index 00000000..dd78da80
--- /dev/null
+++ b/systemd/system/fedora-sysinit-hack.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Bootup hack
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=basic.target shutdown.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/bin/touch /dev/.in_sysinit