Fix missing function in tix-iso-bootconfig(8).

This commit is contained in:
Jonas 'Sortie' Termansen 2022-01-12 21:46:09 +01:00
parent 292aeb3fe7
commit 2413627058
1 changed files with 8 additions and 0 deletions

View File

@ -95,6 +95,14 @@ print_enable_default() {
fi
}
print_enable_default_bool() {
if [ "$1" = true ]; then
printf " enable_%s=true\n" "$2"
elif [ "$1" = false ]; then
printf " enable_%s=false\n" "$2"
fi
}
if $random_seed; then
mkdir -p -- "$directory/boot"
if which dd >/dev/null 2>/dev/null; then