From 71f9a54323d4da51184e856cbb1aa3f8880f2916 Mon Sep 17 00:00:00 2001 From: Patrick Date: Thu, 14 Nov 2024 20:59:06 +0100 Subject: [PATCH] why did i --- configs/scripts/install.sh | 6 ++++++ configs/scripts/user.sh | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) 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