]>
Commit | Line | Data |
---|---|---|
4cfd24d1 HH |
1 | # This file is part of systemd. |
2 | # | |
3 | # systemd is free software; you can redistribute it and/or modify it | |
4 | # under the terms of the GNU General Public License as published by | |
5 | # the Free Software Foundation; either version 2 of the License, or | |
6 | # (at your option) any later version. | |
7 | ||
8 | [Unit] | |
9 | Description=Restore /run/initramfs | |
10 | After=getty@tty1.service prefdm.service | |
11 | Before=reboot.service | |
12 | DefaultDependencies=no | |
fb67e4aa | 13 | ConditionPathExists=/run/initramfs/.need_shutdown |
4cfd24d1 HH |
14 | |
15 | [Service] | |
fb67e4aa | 16 | ExecStart=/usr/lib/dracut/dracut-initramfs-restore |
4cfd24d1 | 17 | Type=oneshot |
fb67e4aa | 18 | RemainAfterExit=yes |