|
|
|
|
255
|
# check the number of entries in the file
|
255
|
# check the number of entries in the file
|
256
|
no_of_servers=$(cat $REMOTE_SERVERS_LIST | wc -l)
|
256
|
no_of_servers=$(cat $REMOTE_SERVERS_LIST | wc -l)
|
257
|
if [[ ${no_of_servers} < 3 ]]; then
|
257
|
if [[ ${no_of_servers} < 3 ]]; then
|
258
|
- dialog --title "Encryption keys" --msgbox 'There must be at least three servers to recover the key' 6 70
|
|
|
|
|
258
|
+ dialog --title "Encryption keys" \
|
|
|
259
|
+ --msgbox 'There must be at least three servers to recover the key' 6 70
|
259
|
return 2
|
260
|
return 2
|
260
|
fi
|
261
|
fi
|
261
|
|
262
|
|
|
|
|
|
308
|
}
|
309
|
}
|
309
|
|
310
|
|
310
|
function interactive_gpg_from_usb {
|
311
|
function interactive_gpg_from_usb {
|
311
|
- dialog --title "Encryption keys" --msgbox 'Plug in a USB drive containing a copy of your full key or key fragment' 6 70
|
|
|
|
|
312
|
+ dialog --title "Encryption keys" \
|
|
|
313
|
+ --msgbox 'Plug in a USB drive containing a copy of your full key or key fragment' 6 70
|
312
|
|
314
|
|
313
|
GPG_LOADING="yes"
|
315
|
GPG_LOADING="yes"
|
314
|
GPG_CTR=0
|
316
|
GPG_CTR=0
|