move variables out of init.sh to others

move them where they are used, or if they are used
in many places, move them to lib.sh

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-04-26 19:28:49 +01:00
parent 848159fa0e
commit 6779d3f991
4 changed files with 8 additions and 6 deletions
+5
View File
@@ -4,6 +4,11 @@
# Copyright (c) 2020-2025 Leah Rowe <leah@libreboot.org>
# Copyright (c) 2025 Alper Nebi Yasak <alpernebiyasak@gmail.com>
_ua="Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0"
cbfstool="elf/cbfstool/default/cbfstool"
rmodtool="elf/cbfstool/default/rmodtool"
remkdir()
{
rm -Rf "$1" || $err "remkdir: !rm -Rf \"$1\""