Skip to content

Commit a4890cc

Browse files
committed
scripts/dts-boot: Allow interrupting update in FUM
Signed-off-by: Pawel Langowski <[email protected]>
1 parent f0ff464 commit a4890cc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/dasharo-deploy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ source $DTS_HAL
1919
[ -z "$SYSTEM_VENDOR" ] && error_exit "SYSTEM_VENDOR not given"
2020
[ -z "$SYSTEM_MODEL" ] && error_exit "SYSTEM_MODEL not given"
2121

22+
trap exit 1 SIGINT
23+
2224
# Variables used in this script:
2325
# Currently following firmware versions are available: community, community_cap,
2426
# dpp, dpp_cap, seabios, and heads:

scripts/dts-boot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ source $DTS_HAL
4747

4848
if [ -f $FUM_EFIVAR ]; then
4949
$SBIN_DIR/dasharo-deploy update fum
50-
else
51-
$SBIN_DIR/dts
5250
fi
51+
52+
$SBIN_DIR/dts

0 commit comments

Comments
 (0)