diff options
-rw-r--r-- | stages/second_stage.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/stages/second_stage.sh b/stages/second_stage.sh index c2c0b92..2ce2ec7 100644 --- a/stages/second_stage.sh +++ b/stages/second_stage.sh @@ -29,10 +29,14 @@ bash configure_timezone.sh /usr/share/zoneinfo/Europe/Berlin bash configure_network.sh $hostname -bash configure_initramfs.sh +if [ $system_encryption == "yes" ]; then + bash configure_initramfs.sh +fi bash configure_users.sh $admin_username $DEFAULT_PASSWORD bash install_bootloader.sh $efi_partition_path $system_encryption $main_partition_path -bash configure_desktop.sh +if [ "$desktop_wanted" = "yes" ]; then + bash configure_desktop.sh $desktop +fi |