summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-01 01:17:59 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-01 01:17:59 +0100
commit42d4fa9b125c1ba908bc215edaac7c1a856a7cee (patch)
treeaa11224e356a2d30197502ac217a23cd151c8af4 /include
parent9bc9dddf6424a09c399b2196cd0fc09ddb924442 (diff)
include/boot.sh: simplify variable initialisation
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rwxr-xr-xinclude/boot.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/boot.sh b/include/boot.sh
index fe058ecb..06648cb6 100755
--- a/include/boot.sh
+++ b/include/boot.sh
@@ -3,12 +3,7 @@
# SPDX-FileCopyrightText: 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com>
# SPDX-FileCopyrightText: 2023 Leah Rowe <leah@libreboot.org>
-first=""
-board=""
-boards=""
-_displaymode=""
-_payload=""
-_keyboard_layout=""
+eval "$(setvars "" first board boards _displaymode _payload _keyboard_layout)"
main()
{