Final confirmation before changing security settings
This commit is contained in:
parent
4130db49ea
commit
2cd4b1f84e
|
@ -293,6 +293,19 @@ function interactive_setup {
|
|||
255) exit 0;;
|
||||
esac
|
||||
fi
|
||||
|
||||
dialog --title "Final Confirmation" \
|
||||
--backtitle "Freedombone Security Configuration" \
|
||||
--defaultno \
|
||||
--yesno "\nPlease confirm that you wish your security settings to be changed?\n\nWARNING: any mistakes made in the security settings could compromise your system, so be extra careful when answering 'yes'." 7 60
|
||||
sel=$?
|
||||
case $sel in
|
||||
1) echo 'Exiting without changing security settings'
|
||||
exit 0;;
|
||||
255) echo 'Exiting without changing security settings'
|
||||
exit 0;;
|
||||
esac
|
||||
|
||||
clear
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue