summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKim Hagen <kim@sentrium.io>2021-09-03 08:46:16 -0500
committerKim Hagen <kim@sentrium.io>2021-09-03 08:46:16 -0500
commit174689071c2cce85543edf052a7e9196638181d2 (patch)
treea1db044700f05950bbf4fff82a651e0ff9be3d29 /scripts
parente7dafbfb87df40f6ddf00bbe30b0a4e3f7b7f955 (diff)
downloadvyatta-cfg-system-174689071c2cce85543edf052a7e9196638181d2.tar.gz
vyatta-cfg-system-174689071c2cce85543edf052a7e9196638181d2.zip
T1785: Deleting partitions on disks (Raid1) with default value 'no'
the default was still set to "Yes"
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install/install-get-partition2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition
index 24807794..2b2c32b0 100755
--- a/scripts/install/install-get-partition
+++ b/scripts/install/install-get-partition
@@ -299,7 +299,7 @@ check_for_new_raid () {
# Configure RAID-1
echo "This process will erase all data on both drives."
echo -n "Are you sure you want to do this? (Yes/No) [No]: "
- response=$(get_response "Yes" "Yes No Y N")
+ response=$(get_response "No" "Yes No Y N")
if [ "$response" == "no" ] || [ "$response" == "n" ]; then
echo "Ok. Not configuring RAID-1."
return