mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Merge pull request #216 from mechaxl/master
Fixing minor typos in basic-install.sh
This commit is contained in:
commit
d1e054d713
1 changed files with 3 additions and 3 deletions
|
@ -52,8 +52,8 @@ IPv4gw=$(ip route get 8.8.8.8 | awk '{print $3}')
|
||||||
availableInterfaces=$(ip -o link | awk '{print $2}' | grep -v "lo" | cut -d':' -f1)
|
availableInterfaces=$(ip -o link | awk '{print $2}' | grep -v "lo" | cut -d':' -f1)
|
||||||
dhcpcdFile=/etc/dhcpcd.conf
|
dhcpcdFile=/etc/dhcpcd.conf
|
||||||
|
|
||||||
####### FUCNTIONS ##########
|
####### FUNCTIONS ##########
|
||||||
###All creddit for the below function goes to http://fitnr.com/showing-a-bash-spinner.html
|
###All credit for the below function goes to http://fitnr.com/showing-a-bash-spinner.html
|
||||||
spinner()
|
spinner()
|
||||||
{
|
{
|
||||||
local pid=$1
|
local pid=$1
|
||||||
|
@ -178,7 +178,7 @@ $SUDO touch /etc/pihole/.useIPv6
|
||||||
|
|
||||||
getStaticIPv4Settings()
|
getStaticIPv4Settings()
|
||||||
{
|
{
|
||||||
# Ask if the user wannts to use DHCP settings as their static IP
|
# Ask if the user wants to use DHCP settings as their static IP
|
||||||
if (whiptail --backtitle "Calibrating network interface" --title "Static IP Address" --yesno "Do you want to use your current network settings as a static address?
|
if (whiptail --backtitle "Calibrating network interface" --title "Static IP Address" --yesno "Do you want to use your current network settings as a static address?
|
||||||
|
|
||||||
IP address: $IPv4addr
|
IP address: $IPv4addr
|
||||||
|
|
Loading…
Reference in a new issue