Commit 8c54bc0c authored by Marco Marinello's avatar Marco Marinello

Fix if dialog

Signed-off-by: Marco Marinello's avatarMarco Marinello <mmarinello@sezf.it>
parent 4b7c310f
......@@ -63,7 +63,7 @@ if ! grep $macAddress $computerList; then
_img=$(dialog --title "FUSS FUCC" --output-fd 1 --menu "Choose an image to be installed" 15 50 4 $images)
img=$(ls -1 /home/partimag | sed -n "${_img}p")
dialog --title "FUSS FUCC" --msgbox "Set image $img" 13 70
if dialog --title "FUSS FUCC" --yesno "Join this client to the domain?" ; then
if dialog --title "FUSS FUCC" --yesno "Join this client to the FUSS domain?" 13 70; then
join="join"
else
join="no"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment