Customising interactive installer for the mesh variant

This commit is contained in:
Bob Mottram 2015-07-19 14:59:00 +01:00
parent 32c290857e
commit 50b2b7860c
1 changed files with 157 additions and 151 deletions

View File

@ -562,6 +562,7 @@ function interactive_configuration {
fi
save_configuration_file
if [[ SYSTEM_TYPE != "$VARIANT_MESH" ]]; then
interactive_gpg
data=$(tempfile 2>/dev/null)
@ -583,6 +584,7 @@ function interactive_configuration {
255) exit 1;;
esac
save_configuration_file
fi
data=$(tempfile 2>/dev/null)
trap "rm -f $data" 0 1 2 5 15
@ -804,6 +806,8 @@ function interactive_configuration {
esac
save_configuration_file
if [[ SYSTEM_TYPE != "$VARIANT_MESH" ]]; then
data=$(tempfile 2>/dev/null)
trap "rm -f $data" 0 1 2 5 15
dialog --backtitle "Freedombone Configuration" \
@ -881,6 +885,7 @@ function interactive_configuration {
fi
done
save_configuration_file
fi
while [ ! $MY_NAME ]
do
@ -1236,6 +1241,7 @@ function interactive_configuration {
save_configuration_file
fi
if [[ SYSTEM_TYPE != "$VARIANT_MESH" ]]; then
DEFAULT_DOMAIN_DETAILS_COMPLETE=
while [ ! $DEFAULT_DOMAIN_DETAILS_COMPLETE ]
do
@ -1306,8 +1312,8 @@ function interactive_configuration {
255) exit 1;;
esac
done
save_configuration_file
fi
# delete the temporary configuration file
if [ -f temp.cfg ]; then