Customising interactive installer for the mesh variant
This commit is contained in:
parent
32c290857e
commit
50b2b7860c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue