Skip to content

Commit

Permalink
v7.2 (#4405)
Browse files Browse the repository at this point in the history
+ DietPi-Patches | Pi-hole: Whitelist domain of GEO IP API we use in banner and DietPi-VPN as this is part of public blocklists
+ DietPi-Software | Pi-hole: Whitelist domain of GEO IP API we use in banner and DietPi-VPN as this is part of public blocklists
  • Loading branch information
MichaIng authored May 22, 2021
1 parent e8bee40 commit 7573de5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .update/patches
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,13 @@ Patch_7_2()
\nThe Roon Extension Manager received a major upgrade to v1.0. It is now implemented as Docker container, rather than as Node.js module.
\nYou may upgrade via: dietpi-software reinstall 86
\nNB: Roon extensions which were installed via the legacy method must be reinstalled with the new Roon Extension Manager. Extensions which were installed as Docker images already, will continue to function.'

# Pi-hole: Whitelist domain of GEO IP API we use in banner and DietPi-VPN as this is part of public blocklists: https://github.com/MichaIng/DietPi/pull/4398#issuecomment-845477200
if command -v pihole > /dev/null
then
G_DIETPI-NOTIFY 2 'Whitelisting "freegeoip.app" in Pi-hole, which is used by dietpi-banner and dietpi-vpn to obtain your public IP and location...'
pihole -w freegeoip.app --comment 'Used by dietpi-banner and dietpi-vpn to obtain your public IP and location'
fi
}

# v6.35 => v7 migration
Expand Down
4 changes: 4 additions & 0 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -9053,6 +9053,10 @@ _EOF_
# Set web interface PW: https://github.com/MichaIng/DietPi/issues/662
pihole -a -p "$GLOBAL_PW"

# Pi-hole: Whitelist domain of GEO IP API we use in banner and DietPi-VPN as this is part of public blocklists: https://github.com/MichaIng/DietPi/pull/4398#issuecomment-845477200
G_DIETPI-NOTIFY 2 'Whitelisting "freegeoip.app", which is used by dietpi-banner and dietpi-vpn to obtain your public IP and location...'
pihole -w freegeoip.app --comment 'Used by dietpi-banner and dietpi-vpn to obtain your public IP and location'

fi

software_id=33 # Airsonic
Expand Down

0 comments on commit 7573de5

Please sign in to comment.