48ba1a44e1
1 OBS-URL: https://build.opensuse.org/request/show/296732 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=113
17 lines
402 B
Desktop File
17 lines
402 B
Desktop File
[Unit]
|
|
Description=Restore grubenv
|
|
DefaultDependencies=no
|
|
After=local-fs.target
|
|
Before=sysinit.target shutdown.target
|
|
Conflicts=shutdown.target
|
|
ConditionPathIsReadWrite=/boot/grub2/grubenv
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=-/usr/bin/grub2-editenv /boot/grub2/grubenv unset next_entry
|
|
ExecStartPost=-/usr/bin/systemctl disable grub2-once.service
|
|
StandardOutput=syslog
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|