diff --git a/bootnext@.service b/bootnext@.service new file mode 100644 index 0000000..aa1694e --- /dev/null +++ b/bootnext@.service @@ -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 diff --git a/bootorder@.service b/bootorder@.service new file mode 100644 index 0000000..fd5257d --- /dev/null +++ b/bootorder@.service @@ -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