test
sean 7 years ago
parent f369fb70a7
commit f08d10d009

@ -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

Loading…
Cancel
Save