localized some more variables

This commit is contained in:
Dan Schaper 2016-10-10 03:56:03 -07:00
parent bc14074d2a
commit 47aad254d8

View file

@ -185,8 +185,15 @@ verifyFreeDiskSpace() {
chooseInterface() { chooseInterface() {
# Turn the available interfaces into an array so it can be used with a whiptail dialog # Turn the available interfaces into an array so it can be used with a whiptail dialog
interfacesArray=() local interfacesArray=()
firstLoop=1 # Number of available interfaces
local interfaceCount
# Whiptail variable storage
local chooseInterfaceCmd
# Temporary Whiptail options storage
local chooseInterfaceOptions
# Loop sentinel variable
local firstLoop=1
while read -r line while read -r line
do do