mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-27 03:21:32 +03:00
5516ae4419
They were left from an early review iteration, when hibernate-resume functionality was intended to work also outside of initramfs. Now this is not the case, and these dependencies became redundant as systemd-fsck-root.service can never be part of initramfs, and systemd-remount-fs.service makes little sense in it.
21 lines
635 B
SYSTEMD
21 lines
635 B
SYSTEMD
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=Resume from hibernation using device %f
|
|
Documentation=man:systemd-hibernate-resume@.service(8)
|
|
DefaultDependencies=no
|
|
BindsTo=%i.device
|
|
Wants=local-fs-pre.target
|
|
After=%i.device
|
|
Before=local-fs-pre.target
|
|
ConditionPathExists=/etc/initrd-release
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=@rootlibexecdir@/systemd-hibernate-resume %f
|