diff --git a/configs/scripts/install.sh b/configs/scripts/install.sh index 21356d8..cb408d1 100755 --- a/configs/scripts/install.sh +++ b/configs/scripts/install.sh @@ -3,6 +3,12 @@ # This file is part of VM-Experiments. # Licensed under the GPL-3.0-or-later. See LICENSE for details. +read -p "Are you sure you want to install? (Type 'NO' to cancel, uppercase.)" install + +if [ "$install" = "NO" ]; then + reboot +fi + trap '' SIGINT SIGTERM parted -s /dev/sda mklabel msdos diff --git a/configs/scripts/user.sh b/configs/scripts/user.sh index a10ec52..6c9dd8d 100755 --- a/configs/scripts/user.sh +++ b/configs/scripts/user.sh @@ -3,12 +3,6 @@ # This file is part of VM-Experiments. # Licensed under the GPL-3.0-or-later. See LICENSE for details. -read -p "Are you sure you want to install? (Type 'NO' to cancel, uppercase.)" install - -if [ "$install" = "NO" ]; then - reboot -fi - trap '' SIGINT SIGTERM while true; do