|
@@ -205,16 +205,9 @@ function change_xmpp_settings {
|
205
|
205
|
}
|
206
|
206
|
|
207
|
207
|
function allow_ssh_passwords {
|
208
|
|
- if [[ $SSH_PASSWORDS == "yes" ]]; then
|
209
|
|
- dialog --title $"SSH Passwords" \
|
210
|
|
- --backtitle $"Freedombone Security Configuration" \
|
211
|
|
- --yesno $"\nAllow SSH login using passwords?" 7 60
|
212
|
|
- else
|
213
|
|
- dialog --title $"SSH Passwords" \
|
214
|
|
- --backtitle $"Freedombone Security Configuration" \
|
215
|
|
- --defaultno \
|
216
|
|
- --yesno $"\nAllow SSH login using passwords?" 7 60
|
217
|
|
- fi
|
|
208
|
+ dialog --title $"SSH Passwords" \
|
|
209
|
+ --backtitle $"Freedombone Security Configuration" \
|
|
210
|
+ --yesno $"\nAllow SSH login using passwords?" 7 60
|
218
|
211
|
sel=$?
|
219
|
212
|
case $sel in
|
220
|
213
|
0) SSH_PASSWORDS="yes";;
|
|
@@ -738,6 +731,8 @@ function menu_security_settings {
|
738
|
731
|
;;
|
739
|
732
|
8)
|
740
|
733
|
allow_ssh_passwords
|
|
734
|
+ change_ssh_settings
|
|
735
|
+ exit 0
|
741
|
736
|
;;
|
742
|
737
|
9)
|
743
|
738
|
exit 0
|