diff --git a/configs/releng/airootfs/etc/systemd/system/fws-gameboot-bootfix.service b/configs/releng/airootfs/etc/systemd/system/fws-gameboot-bootfix.service new file mode 100644 index 0000000..5760c7f --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/fws-gameboot-bootfix.service @@ -0,0 +1,19 @@ +[Unit] +Description=FWS — réasserte BootOrder=FWS et le marqueur de retour Windows (gameboot) +Documentation=file:///usr/share/doc/fws/hibernate-swap-dualboot.md +# Jamais sur le live, uniquement sur un système installé UEFI. +ConditionPathExists=!/run/archiso +ConditionPathExists=/sys/firmware/efi +After=local-fs.target +# Ne pas retarder le boot : purement best-effort. +DefaultDependencies=no +Before=multi-user.target + +[Service] +Type=oneshot +ExecStart=/usr/local/bin/fws-gameboot-bootfix +# Ne jamais faire échouer le boot si efivars indisponible. +SuccessExitStatus=0 1 + +[Install] +WantedBy=multi-user.target