Commit Graph

682 Commits (a928cd3fa137a4d8329a78b1bc996078d773fe97)

Author SHA1 Message Date
DL6ER 77b3764481
Remove resundant code (FTL will later be enabled by enable_service)
7 years ago
DL6ER 90ccbef431
pihole-FTL init.d script
7 years ago
Dan Schaper 4cd598ae10
Check support files installed and permissions.
7 years ago
Dan Schaper 2ffb103acb
Move binary to final home.
7 years ago
Dan Schaper a0c17368ed
`cd` to directory to sha1sum
7 years ago
Dan Schaper 6023984703
Silence sha check
7 years ago
Dan Schaper cde7b53de3
Check sha1 of transferred file.
7 years ago
Dan Schaper e087797edc
Test for format of tag version.
7 years ago
Dan Schaper 5e6f8489a9
Find 404 errors and relay message.
7 years ago
Dan Schaper 48351fed79
Remove trailing newline from curl'd variable.
7 years ago
Dan Schaper 875a5d309d
Check downloaded file for binary or text.
7 years ago
Dan Schaper 70e876ee13
Download tests.
7 years ago
Dan Schaper 7a269e757e
Debian buildpack image for docker (Need `curl` for testing, using scm version to add `curl` and `git`.)
7 years ago
Dan Schaper 87edbeaf58
Factor out downloader from detector function.
7 years ago
Dan Schaper 339f95b00c
Change from `uname -m` to straight `arch`
7 years ago
DL6ER 70a6a79b8c
Detect library differently
7 years ago
DL6ER f24f77c5bd
Detect if architecture is *aarch* + use hf binary only if ARMv7+ is detected
7 years ago
DL6ER 378338c684
Install pihole-FTL to /usr/bin instead of /usr/local/bin
7 years ago
Adam Warner 36166c129a Merge pull request #1253 from Skittels0/even_more_dns
7 years ago
Skittels 4e7a485e23 Update basic-install.sh
7 years ago
Skittels 9e5795bf55 Added DNS.WATCH to default dns servers
7 years ago
DL6ER 4035c933df
Moved echo to else block
7 years ago
DL6ER abd44dd284
Add 32bit message
7 years ago
DL6ER 95d7fe76b5
Make comments more pretty
7 years ago
DL6ER a052f397fe
Be more verbose during install
7 years ago
DL6ER 09d6e73b0a
Don't print error message on 32bit platforms
7 years ago
DL6ER 7fb6b71d52
Fix install path
7 years ago
DL6ER 07e37d7fc3
Proper error handling
7 years ago
DL6ER fbe3dc0dcd
Have to get latest tag via GitHub API for downloading the binaries
7 years ago
DL6ER 6018c0c2fc
Add FTLinstall()
7 years ago
DL6ER 52a2f166fd
Add FTLdownload() subroutine
7 years ago
Mcat12 ba67144e34 Merge branch 'development' into adminPageAsOption
7 years ago
Dan Schaper 34f326c559 Update basic-install.sh
7 years ago
DL6ER 8fb6ba19a1
Remove double echos
7 years ago
Dan Schaper 314f7e7889 Merge pull request #1183 from pi-hole/tweak/update_cache_trap
7 years ago
Promofaux 4fcf8fd23f Merge in `development` branch - resolve conflict in update.sh
7 years ago
Promofaux 1206dda347 testing putting `runGravity` at a different part of the script
7 years ago
Promofaux e57425df5f 0.0.0.0 instead of pi-holes IP address for redirect purposes
7 years ago
Dan Schaper b8d0e5e5a1 Merge pull request #1210 from pi-hole/fix/dhcpcd_int
7 years ago
Dan Schaper 26ad23f01e Remove comment leaders from DHCPCD interface
7 years ago
Mcat12 18eb8a2159 Merge pull request #1185 from pi-hole/cleanup/git_functions
7 years ago
DL6ER 8b22f435ad
Change how user and group are stored in the logrotate config file (necessary on Ubuntu 16.04.1)
7 years ago
Dan Schaper 3861b57dc6
Start moving reused utility functions to one script.
7 years ago
Dan Schaper 7291aa07ca
Silenc cache updater.
7 years ago
Dan Schaper 409f76aa34
Error check.
7 years ago
Dan Schaper a281d87315
Eval variable. (Not a fan.)
7 years ago
Dan Schaper 2d18b2d784
Start test templates.
7 years ago
Promofaux c31b4383e6 add back in code to stop `dnsmasq` and `lighttpd` during install.
7 years ago
Promofaux 35828f9cea Source setupvars earlier in update/repair process
7 years ago
Promofaux 90af12fdb8 Remember the [@]
7 years ago
Promofaux 5fede23cf7 trying another tactic
7 years ago
Promofaux bc4762f270 no need to stop dnsmasq/lighttpt if we're going to reload them at the end anyway.
7 years ago
Promofaux 01429d59bd more web checks
7 years ago
Promofaux 731d15f9b5 don't display web admin info in final dialog if it's not selected
7 years ago
Promofaux f0bd7fae5c ) not }
7 years ago
Promofaux f8322cc2d4 use the web install flag. Could be optimised
7 years ago
Promofaux dfdb9e393b move repo clone to function
7 years ago
Promofaux bd07d7f32e Only install web dependenices if flag is true
7 years ago
Promofaux f588c6f93c introduce web toggle flag
7 years ago
Promofaux d9ec3d2c22 spelling
7 years ago
Promofaux e2b87759d8 split out web dependencies
7 years ago
Dan Schaper 52e0aa11af
Have install create directory
7 years ago
Dan Schaper 1421c31179
`install` index and blockingpage assets.
7 years ago
Dan Schaper 91bcc18e6a
Make full path to directory for pihole web page.
7 years ago
Dan Schaper 5b43f13935
Fresh install web page directory tests
7 years ago
DL6ER 2c16a75ef1
Use stat to get owner of /var/log
7 years ago
DL6ER 6fd7e0311c
Install customized version of logrotate script
7 years ago
Dan Schaper cec214f900
User decline to install shouldn't be an error return.
7 years ago
Dan Schaper b16f797317
`firewall-cmd --state` returns 0 on 'running' non 0 on 'not running',
7 years ago
Dan Schaper 8bba3a257c
Merge branch 'tweak/firewall_tests' into tweak/firewall_warning
7 years ago
Dan Schaper 31aa42c35e
Transparency in `sudo` refire.
7 years ago
Dan Schaper f7a17248b7
Warn with whiptail if `firewall-cmd` is running.
7 years ago
Adam Warner 77554fbd13 Merge pull request #1145 from pi-hole/cleanup/more_shellcheck
7 years ago
Dan Schaper eaf6938c35
DNS whiptail from radio to menu
7 years ago
Dan Schaper 0635309f23
Move distribution check to function.
7 years ago
Dan Schaper cef0211c00 Merge pull request #1151 from pi-hole/fix/CIDR
7 years ago
Dan Schaper 86052540d9
Add back CIDR notation for non-natural blocks. Includes multi-address
7 years ago
Dan Schaper 62a5e36afd
Remove firewall configuration from update portion of script.
7 years ago
Dan Schaper 00b28f0aed
IPTables Whiptal option to install.
7 years ago
Dan Schaper ec8c40b69b
Fix array declaration for Fedora package management.
7 years ago
Dan Schaper 34df34ba27
Actually rm the Pi-hole scripts.
7 years ago
Dan Schaper 2689b37c35
Combine multiple calls to interface length code.
7 years ago
Dan Schaper 9b6427144f
|| && conversion.
7 years ago
Dan Schaper 9212eea8bd
Only ignore DOWN interfaces, `tun` interfaces are UNKNOWN.
7 years ago
DL6ER 0b72c639fb
Check for existance of iptables command. Fixes #1125
8 years ago
Dan Schaper c58a95ca2e
`setDNS` whiptail direct, not in array.
8 years ago
Dan Schaper 80a3bce6d5
PI_HOLE_INSTALL_DIR global variable
8 years ago
Dan Schaper 6f0289de49
Vestigial variable that was never populated.
8 years ago
Dan Schaper 0966d7660e
Take out some whiptail subshells that aren't needed.
8 years ago
Dan Schaper 27e90cc4e6
Repetitive `ip route get` was resetting counts.
8 years ago
Dan Schaper b785213c3a
Shellcheck for Test for $? -eq 0
8 years ago
Dan Schaper 0e4d5e9103
Bash splitting and globin
8 years ago
Mcat12 76531da340 Merge pull request #1067 from pi-hole/fix/firewall_redux
8 years ago
Adam Warner 12bec1df68 Merge pull request #1048 from pi-hole/tweak/simplify_webpage.sh
8 years ago
DL6ER 85f0241c0d
Reprocess DHCP settings after update
8 years ago
Dan Schaper 8ee2bdec4d
Plain grep, escape the special characters.
8 years ago
Dan Schaper de6ce276d0
Merge branch 'development' of github.com:pi-hole/pi-hole into fix/firewall_redux
8 years ago
Dan Schaper fbea81dcd7 Merge pull request #1068 from pi-hole/fix/anti_glob
8 years ago
Dan Schaper 502c349b8b
Merge branches 'development' and 'fix/firewall_redux' of github.com:pi-hole/pi-hole into fix/firewall_redux
8 years ago
Adam Warner 5fb0aa70de Merge pull request #1008 from pi-hole/feature/track_pre-installed_packages
8 years ago