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
+2
View File
@@ -5,6 +5,8 @@
# Copyright (c) 2022-2023 Alper Nebi Yasak <alpernebiyasak@gmail.com>
# Copyright (c) 2023-2024 Riku Viitanen <riku.viitanen@protonmail.com>
grubdata="config/data/grub"
mkserprog()
{
[ $# -lt 1 ] && $err "mkserprog: no arguments provided"