mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
localized some more variables
This commit is contained in:
parent
bc14074d2a
commit
47aad254d8
1 changed files with 9 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue