Fallback mechanism/coreboot@resume.service

From coreboot
Jump to navigation Jump to search

The wiki is being retired!

Documentation is now handled by the same processes we use for code: Add something to the Documentation/ directory in the coreboot repo, and it will be rendered to https://doc.coreboot.org/. Contributions welcome!

[Unit]
Description=At resume, use the same cbfs path(normal/fallback) used at boot.
After=suspend.target

[Service]
Type=simple
ExecStart=/usr/local/sbin/nvramtool -w boot_option=Normal
ExecStart=/usr/local/sbin/nvramtool -w reboot_bits=0

[Install]
WantedBy=suspend.target