diff --git a/setup.sh b/setup.sh index 94467dd..fa719f0 100644 --- a/setup.sh +++ b/setup.sh @@ -60,8 +60,8 @@ if [ "$swapspace" -lt "2048000" ]; then swapspace="2048000" ; fi nics=`dialog --separate-output --no-cancel --no-items --title "Bridged network devices" --checklist "Select the network devices to be bridged to bridge - select none for no bridge:" $height $width ${window}$nicdevices 2>&1 1>/dev/tty` if [ -z "$nics" ]; then nobridge=1 else nobridge=0; fi -if [ "$nobridge" = "1" ]; then - bridgedevice=`dialog --no-cancel --no-items --title "Bridged network devices" --radiolist "Select the network devices to be bridged to bridge - select none for no bridge:" $height $width ${window}$nicdevices 2>&1 1>/dev/tty` +if [ "$nobridge" = "1" ]; then + bridgedevice=`dialog --no-cancel --no-items --title "Bridged network devices" --rad iolist "Select the network devices to be bridged to bridge - select none for no bridge:" $height $width ${window}$nicdevices 2>&1 1>/dev/tty` else bridgedevice="br0" fi