test tweak
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
|
IFS=$'\n'
|
||||||
|
|
||||||
# fresh update on apt in Ubuntu
|
# fresh update on apt in Ubuntu
|
||||||
echo "Updating and upgrading local packages..."
|
echo "Updating and upgrading local packages..."
|
||||||
apt-add-repository universe >/dev/null 2>/dev/null && apt update >/dev/null 2>/dev/null
|
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
|
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`
|
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
|
for disk in `echo $disks`; do
|
||||||
# remove echo for testing
|
# remove echo for testing
|
||||||
|
|||||||
Reference in New Issue
Block a user