Update Sun Jan 3 04:26:52 AM CST 2021
This commit is contained in:
parent
4380a5238f
commit
58eac0eb15
|
|
@ -389,8 +389,8 @@ ask_homekali_to_root () {
|
||||||
read -n1 -p " Please type Y or N : " userinput
|
read -n1 -p " Please type Y or N : " userinput
|
||||||
case $userinput in
|
case $userinput in
|
||||||
y|Y) ask_are_you_sure;;
|
y|Y) ask_are_you_sure;;
|
||||||
n|N) echo -e "\n\n $redexclaim skipping copy of /home/kali to /root" ;;
|
n|N) echo -e "\n\n $redexclaim skipping copy of /home/kali to /root" ;;
|
||||||
*) echo -e "\n\n $redexclaim Invalid key try again, Y or N keys only $redexclaim"; ask_homekali_to_root;;
|
*) echo -e "\n\n $redexclaim Invalid key try again, Y or N keys only $redexclaim"; ask_homekali_to_root;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -400,8 +400,8 @@ ask_are_you_sure () {
|
||||||
read -n1 -p " Please type Y or N : " userinput
|
read -n1 -p " Please type Y or N : " userinput
|
||||||
case $userinput in
|
case $userinput in
|
||||||
y|Y) perform_copy_to_root;;
|
y|Y) perform_copy_to_root;;
|
||||||
n|N) echo -e "\n\n $redexclaim Skipping copy fo /home/kali to /root - not copying ";;
|
n|N) echo -e "\n\n $redexclaim Skipping copy fo /home/kali to /root - not copying ";;
|
||||||
*) echo -e "\n\n $redexclaim Invalid key try again, Y or N keys only $redexclaim"; ask_are_you_sure;;
|
*) echo -e "\n\n $redexclaim Invalid key try again, Y or N keys only $redexclaim"; ask_are_you_sure;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
# 01.03.2021 rev 1.1.3 --- end : added are you sure prompt
|
# 01.03.2021 rev 1.1.3 --- end : added are you sure prompt
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue