Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit 943fe8e

Browse files
committed
Add support for SICHERBOOT_CONFIGURATION_FILE_INTERNAL variable
1 parent b126348 commit 943fe8e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sicherboot

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ for EFI_ARCH in "x64" "aa64" "aarch64" "ia32"; do
3737
fi
3838
done
3939

40-
if [ -e /etc/sicherboot/sicherboot.conf ]; then
40+
if [ -n "$SICHERBOOT_CONFIGURATION_FILE_INTERNAL" ]; then
41+
. $SICHERBOOT_CONFIGURATION_FILE_INTERNAL
42+
elif [ -e /etc/sicherboot/sicherboot.conf ]; then
4143
. /etc/sicherboot/sicherboot.conf
4244
fi
4345

0 commit comments

Comments
 (0)