mirror of
https://github.com/kevinveenbirkenbach/raspberry-pi-tools.git
synced 2024-11-22 10:01:04 +01:00
Removed exit
This commit is contained in:
parent
c0b5473041
commit
4c5dd6e53e
5
execute.sh
Normal file
5
execute.sh
Normal file
@ -0,0 +1,5 @@
|
||||
( echo "kevinfrantz"
|
||||
echo "mmcblk1"
|
||||
echo "4"
|
||||
echo "retropie"
|
||||
)| sudo bash ./sd_setup.sh
|
@ -135,7 +135,7 @@ if [[ -v image_checksum ]]
|
||||
else
|
||||
echo "WARNING: Verification is not possible. No checksum is define."
|
||||
fi
|
||||
exit
|
||||
|
||||
echo "Preparing mount paths..."
|
||||
boot_mount_path="$working_folder""boot"
|
||||
root_mount_path="$working_folder""root"
|
||||
@ -251,6 +251,7 @@ fi
|
||||
echo "The first level folder structure on $root_mount_path is now:" && tree -laL 1 "$root_mount_path"
|
||||
echo "The first level folder structure on $boot_mount_path is now:" && tree -laL 1 "$boot_mount_path"
|
||||
echo "Cleaning up..."
|
||||
|
||||
umount -v "$root_mount_path" "$boot_mount_path"
|
||||
rm -vr "$working_folder"
|
||||
echo "Setup successfull :)" && exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user