You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
672 B
21 lines
672 B
# This file is part of systemd. |
|
# |
|
# systemd is free software; you can redistribute it and/or modify it |
|
# under the terms of the GNU General Public License as published by |
|
# the Free Software Foundation; either version 2 of the License, or |
|
# (at your option) any later version. |
|
|
|
[Unit] |
|
Description=Restore /run/initramfs on shutdown |
|
Documentation=man:dracut-shutdown.service(8) |
|
After=local-fs.target boot.mount boot.automount |
|
Wants=local-fs.target |
|
Conflicts=shutdown.target umount.target |
|
DefaultDependencies=no |
|
ConditionPathExists=!/run/initramfs/bin/sh |
|
|
|
[Service] |
|
RemainAfterExit=yes |
|
Type=oneshot |
|
ExecStart=/bin/true |
|
ExecStop=/usr/lib/dracut/dracut-initramfs-restore
|
|
|