fixed own.sh
This commit is contained in:
parent
2cd4cfc966
commit
a7abc0a338
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue