blob: cbec24aabe5864eafd147c9a19841aa46eb3ea1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From 64dd7084103bddf314365271981bf535e863e647 Mon Sep 17 00:00:00 2001
From: "Arsalan H. Awan" <Arsalan_Awan@mentor.com>
Date: Fri, 8 Mar 2019 12:15:56 +0500
Subject: [PATCH 3/3] init-install-efi/SWU: start the WDT as soon as a
menuentry is selected
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
---
init-install-efi.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/init-install-efi.sh b/init-install-efi.sh
index 270b254..502b0ce 100644
--- a/init-install-efi.sh
+++ b/init-install-efi.sh
@@ -331,6 +331,8 @@ FALL_BACK
sed -i "/function setup_wdt/a amd-wdt settime 60" $GRUBCFG
# Mentor - SWUpdate - enable WDT by default
sed -i "/menuentry.*boot/i set mel_wdt=1\n" $GRUBCFG
+ # Mentor - SWUpdate - start the WDT as soon as a menuentry is selected
+ sed -i "/menuentry/a setup_wdt" $GRUBCFG
fi
if [ -d /run/media/$1/loader ]; then
--
2.11.1
|