Skip to content

Commit

Permalink
Updates for v3.0.1
Browse files Browse the repository at this point in the history
- Completely re-wrote GetVersionInformation
  - Should work all the time, everytime!
  - Check now reads $(pihole -v -p) to gather current and latest versions
  - Check handles issues with Pihole version returning "ERROR"
  - Check only needs to run once on start-up, any additional calls will check for piHoleVersion file, then stop
- Added CheckConnectivity
  - Used to ensure that network connectivity is available prior to starting PADD
    - Caused issues with GetVersionInformation running prior it being online and able to check for the latest version of Pi-hole
  - Attempts to connect to Google
    - Will slowly time out after 8 attempts
- Refactored GetPiholeInformation
  - Uses $(pihole status web) only once
  - Gathers information about FTL's cpu and memory use if FTL is running
- Renamed additional variables
  • Loading branch information
jpmck committed Feb 20, 2019
1 parent 5d5c2f0 commit 17a158b
Showing 1 changed file with 302 additions and 214 deletions.
Loading

0 comments on commit 17a158b

Please sign in to comment.