Moved rom copying to server manager and activated ssh

This commit is contained in:
Kevin Veen-Birkenbach 2022-03-15 13:27:02 +01:00
parent 3c4163008c
commit d7ca557383

View File

@ -157,7 +157,7 @@ make_mount_folders
set_partition_paths set_partition_paths
question "Which filesystem should be used(e.g.:btrfs,ext4):" && read -r root_filesystem question "Which filesystem should be used? E.g.:btrfs,ext4... (none):" && read -r root_filesystem
question "Should the image be transfered to $device_path?(y/N)" && read -r transfer_image question "Should the image be transfered to $device_path?(y/N)" && read -r transfer_image
if [ "$transfer_image" = "y" ] if [ "$transfer_image" = "y" ]
@ -473,14 +473,10 @@ if [ "$os" != "manjaro" ]
info "Running system specific procedures..." info "Running system specific procedures..."
if [ "$os" = "retropie" ] if [ "$os" = "retropie" ]
then then
question "Should the roms be copied to the system?(y/N)" && read -r copy_roms if [ "$copy_ssh_key" == "y" ]
if [ "$copy_roms" == "y" ]
then then
target_roms_path="$target_user_home_folder_path""/RetroPie/roms/" && ssh_file="$boot_mount_path""ssh" &&
source_roms_path="$origin_user_home""Games/roms/" && echo "" > "$ssh_file"
info "Copy roms from $source_roms_path to $target_roms_path..." &&
cp -v "$source_roms_path" "$target_roms_path" &&
chown -vR 1000 "$target_roms_path" || error
fi fi
question "Should the RetroFlag specific procedures be executed?(y/N)" && read -r setup_retroflag question "Should the RetroFlag specific procedures be executed?(y/N)" && read -r setup_retroflag
if [ "$setup_retroflag" == "y" ] if [ "$setup_retroflag" == "y" ]