diff --git a/install-zfs.sh b/install-zfs.sh index dc67dec..84c09e8 100755 --- a/install-zfs.sh +++ b/install-zfs.sh @@ -1307,17 +1307,6 @@ function configure_and_update_grub { chroot_execute "update-grub" } -function configure_and_update_grub_Debian { - print_step_info_header - - chroot_execute "perl -i -pe 's/GRUB_CMDLINE_LINUX_DEFAULT=\"\K/init_on_alloc=0 /' /etc/default/grub" - - chroot_execute "perl -i -pe 's/GRUB_CMDLINE_LINUX_DEFAULT=.*\Kquiet//' /etc/default/grub" - chroot_execute "perl -i -pe 's/#(GRUB_TERMINAL=console)/\$1/' /etc/default/grub" - - chroot_execute "update-grub" -} - function sync_efi_partitions { print_step_info_header @@ -1545,7 +1534,7 @@ fi prepare_jail distro_dependent_invoke "install_jail_zfs_packages" prepare_efi_partition -distro_dependent_invoke "configure_and_update_grub" +configure_and_update_grub sync_efi_partitions update_initramfs fix_filesystem_mount_ordering