Created boot services to manage EFI boot settings

This commit is contained in:
BrainwreckedTech 2019-09-22 06:19:24 -04:00
parent fb380d3165
commit d070c49d39
2 changed files with 18 additions and 0 deletions

9
bootnext@.service Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=Set EFI next boot to %I
After=basic.target
[Service]
ExecStart=/usr/sbin/efibootmgr -n %I
[Install]
WantedBy=multi-user.target

9
bootorder@.service Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=Set EFI boot order to %I
After=basic.target
[Service]
ExecStart=/usr/sbin/efibootmgr -o %I
[Install]
WantedBy=multi-user.target