From 59b2f505ea603ef65823615711b5adfa87795f41 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 15 Oct 2010 16:25:31 -0400 Subject: Add split-out bits of rc.sysinit and associated service files. Remove sysinit.service. Based on work by Harald Hoyer () sysinit-hack/unhack will be removed once the net hotplug stuff is fixed to not require this. --- systemd/system/fedora-wait-storage.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 systemd/system/fedora-wait-storage.service (limited to 'systemd/system/fedora-wait-storage.service') diff --git a/systemd/system/fedora-wait-storage.service b/systemd/system/fedora-wait-storage.service new file mode 100644 index 00000000..63744b63 --- /dev/null +++ b/systemd/system/fedora-wait-storage.service @@ -0,0 +1,15 @@ +[Unit] +Description=Wait for storage scan +DefaultDependencies=no +Conflicts=shutdown.target +Before=local-fs.target shutdown.target emergency.service emergency.target +After=udev-settle.service +Requires=udev.service udev-settle.service + +[Service] +ExecStart=-/sbin/rmmod scsi_wait_scan +ExecStart=-/sbin/modprobe scsi_wait_scan +ExecStart=-/sbin/rmmod scsi_wait_scan +Type=oneshot +TimeoutSec=0 +RemainAfterExit=yes -- cgit v1.2.1