fixed own.sh

This commit is contained in:
Ze'ev Schurmann 2024-01-31 22:51:30 +02:00
parent 2cd4cfc966
commit a7abc0a338
1 changed files with 4 additions and 4 deletions

View File

@ -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