From a7abc0a3383c3aca0638b841422cbc3498ccaeb2 Mon Sep 17 00:00:00 2001 From: Ze'ev Schurmann Date: Wed, 31 Jan 2024 22:51:30 +0200 Subject: [PATCH] fixed own.sh --- own-your-cloudkey/own.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/own-your-cloudkey/own.sh b/own-your-cloudkey/own.sh index efa65e7..5efd7d5 100644 --- a/own-your-cloudkey/own.sh +++ b/own-your-cloudkey/own.sh @@ -2,7 +2,7 @@ ### This script will allow you to own your Cloudkey Gen2 and Gen2+. -### This is an early version 0.1... more features to come. +### This is an early version 0.2... more features to come. ### If you use this it is at your own risk. @@ -14,9 +14,9 @@ echo "About to remove all the UniFi software. You act at your own choice." echo "I am not responsible if anything goes wrong." echo echo "Type: \"I understand.\"" -read val +read check -if [[ $val == "I understand." ]]; then +if [[ $check == "I understand." ]]; then echo "Here goes... hold thumbs..." else exit 1 @@ -58,6 +58,6 @@ cp sshd_config.backup /etc/ssh/sshd_config echo "Press ENTER to reboot..." -read val +read check reboot now