Sean 7 years ago
parent 56124cb63a
commit 8c2b785bee

@ -59,8 +59,7 @@ swapspace=$(($swapspace * `getconf PAGESIZE`))
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
if [ -z "$nics" ]; 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`
else
bridgedevice="br0"

Loading…
Cancel
Save