tweaks
This commit is contained in:
@@ -61,7 +61,7 @@ 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`
|
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 [ -z "$nics" ]; then nobridge=1 else nobridge=0; fi
|
||||||
if [ "$nobridge" = "1" ]; then
|
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`
|
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
|
else
|
||||||
bridgedevice="br0"
|
bridgedevice="br0"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user