mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-27 06:26:15 +00:00
Update debi.sh
This commit is contained in:
@@ -534,7 +534,7 @@ EOF
|
|||||||
|
|
||||||
[ "$power_off" = true ] && echo 'd-i debian-installer/exit/poweroff boolean true' | $save_preseed
|
[ "$power_off" = true ] && echo 'd-i debian-installer/exit/poweroff boolean true' | $save_preseed
|
||||||
|
|
||||||
save_grub_cfg='cat 1>&2'
|
save_grub_cfg='cat'
|
||||||
if [ "$dry_run" != true ]; then
|
if [ "$dry_run" != true ]; then
|
||||||
if [ -z "$architecture" ]; then
|
if [ -z "$architecture" ]; then
|
||||||
architecture=amd64
|
architecture=amd64
|
||||||
@@ -587,7 +587,7 @@ fi
|
|||||||
|
|
||||||
installer_directory="$boot_directory$installer"
|
installer_directory="$boot_directory$installer"
|
||||||
|
|
||||||
$save_grub_cfg << EOF
|
$save_grub_cfg 1>&2 << EOF
|
||||||
menuentry 'Debian Installer' --id debi {
|
menuentry 'Debian Installer' --id debi {
|
||||||
insmod part_msdos
|
insmod part_msdos
|
||||||
insmod part_gpt
|
insmod part_gpt
|
||||||
|
|||||||
Reference in New Issue
Block a user