Switch from read to dialog for user input. This provides an easy to use user interface, and also allows an install to be done with no typing needed, the user can just select options and continue through the install. It speeds up install time significantly.
To facilitate this all input has been moved out of functions and into the main code. Questions are asked of the user in the main section and passed into the functions as variables when needed.
When output is produced by the functions it is piped into dialog to provide output.
I also switch to only displaying by-partuuid discs when a vd* disc is present, since it's the only time I know of that by-id will fail.
Switch from
read
todialog
for user input. This provides an easy to use user interface, and also allows an install to be done with no typing needed, the user can just select options and continue through the install. It speeds up install time significantly.To facilitate this all input has been moved out of functions and into the main code. Questions are asked of the user in the main section and passed into the functions as variables when needed.
When output is produced by the functions it is piped into
dialog
to provide output.I also switch to only displaying
by-partuuid
discs when avd*
disc is present, since it's the only time I know of thatby-id
will fail.Tested