From 8c2b785bee6f6a3857fabc884b8b4bf1126c723f Mon Sep 17 00:00:00 2001 From: Sean Date: Mon, 5 Aug 2019 17:20:22 -0700 Subject: [PATCH] tweaks --- setup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index c54a1e9..029a827 100644 --- a/setup.sh +++ b/setup.sh @@ -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"