From f08d10d009b75550fd2a67655f88e00a99a47eca Mon Sep 17 00:00:00 2001 From: sean Date: Tue, 9 Jul 2019 13:27:46 -0700 Subject: [PATCH] test tweak --- setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index a31bd1a..791495c 100644 --- a/setup.sh +++ b/setup.sh @@ -1,5 +1,7 @@ #! /bin/bash +IFS=$'\n' + # fresh update on apt in Ubuntu echo "Updating and upgrading local packages..." apt-add-repository universe >/dev/null 2>/dev/null && apt update >/dev/null 2>/dev/null @@ -34,7 +36,6 @@ hostname=""; while [ -z "$hostname" ]; do hostname=`dialog --no-cancel --inputbo nicdevices=""; for nic in $(ip -o link show | awk -F': ' '{print $2}' | grep -v '^lo'); do nicdevices="$nicdevices $nic off"; done nics=`dialog --separate-output --no-cancel --no-items --title "Network devices for bridge" --checklist "Select the network devices to be bridged" $height $width ${window}$nicdevices 2>&1 1>/dev/tty` -IFS=$'\n' for disk in `echo $disks`; do # remove echo for testing