From 4f1d8df17c01945b5b59a61355e3b6b90df6b1d9 Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Tue, 24 May 2022 22:59:27 +0200 Subject: [PATCH] Ensure boot mode is cleared before finishing recovery Change-Id: I06dd80f23f1686d11364f3a79a13b324ccf66c1f --- units/recovery-reboot.service.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/units/recovery-reboot.service.in b/units/recovery-reboot.service.in index 66acf0d..5e1476d 100644 --- a/units/recovery-reboot.service.in +++ b/units/recovery-reboot.service.in @@ -5,5 +5,7 @@ Requires=recovery.service After=recovery.service [Service] +Type=oneshot +ExecStart=/usr/bin/device_board_clear_boot_mode ExecStart=/usr/sbin/reboot -f SmackProcessLabel=System -- 2.7.4