Titles
This commit is contained in:
parent
ca649effc7
commit
b2609f0f16
|
@ -344,7 +344,8 @@ function regenerate_dh_keys {
|
||||||
data=$(tempfile 2>/dev/null)
|
data=$(tempfile 2>/dev/null)
|
||||||
trap "rm -f $data" 0 1 2 5 15
|
trap "rm -f $data" 0 1 2 5 15
|
||||||
dialog --backtitle "Freedombone Security Configuration" \
|
dialog --backtitle "Freedombone Security Configuration" \
|
||||||
--radiolist "Select a Diffie-Hellman key length. The smaller length is better suited to low power embedded systems:" 12 40 2 \
|
--title "Diffie-Hellman key length" \
|
||||||
|
--radiolist "The smaller length is better suited to low power embedded systems:" 10 40 2 \
|
||||||
1 "1024 bits" off \
|
1 "1024 bits" off \
|
||||||
2 "3072 bits" on 2> $data
|
2 "3072 bits" on 2> $data
|
||||||
sel=$?
|
sel=$?
|
||||||
|
@ -375,7 +376,8 @@ function regenerate_dh_keys {
|
||||||
function housekeeping {
|
function housekeeping {
|
||||||
cmd=(dialog --separate-output \
|
cmd=(dialog --separate-output \
|
||||||
--backtitle "Freedombone Security Configuration" \
|
--backtitle "Freedombone Security Configuration" \
|
||||||
--checklist "Housekeeping options. If you don't need to do any of these things then just press Enter:" 10 76 16)
|
--title "Housekeeping options" \
|
||||||
|
--checklist "If you don't need to do any of these things then just press Enter:" 10 76 16)
|
||||||
options=(1 "Regenerate ssh host keys" off
|
options=(1 "Regenerate ssh host keys" off
|
||||||
2 "Regenerate Diffie-Hellman keys" off)
|
2 "Regenerate Diffie-Hellman keys" off)
|
||||||
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
||||||
|
|
Loading…
Reference in New Issue