Commit Graph

1092 Commits (4b592876830c5491bd94b66402630b2c77d679d8)

Author SHA1 Message Date
DL6ER f360959efc
Download macvendor database from ftl.pi-hole.net when downloading a new FTL binary. Users who want to update the database more frequently than on each FTL release can use the python script from the FTL repository to generate the database themselves. The macvendor database is an optional component so a failing download is no reason to interrupt the installer.
6 years ago
bcambl 3035fbf468 remove unused dependency (bc)
6 years ago
DL6ER c5da1bb952
Add libcap as Fedora dependency
6 years ago
DL6ER 486c41a69a
Add Debain dependency libcap2 needed for FTL's capability check on startup
6 years ago
Florian Freund 0ef4901e48 Add a blank after printf to avoid 'Command not found' error
6 years ago
bcambl eca975a370 add sqlite3 dependency for fedora
6 years ago
bcambl 724afc000f add sqlite3 dependency for fedora
6 years ago
Mark Drobnak d24e0a6060
Merge pull request #2540 from pi-hole/release/v4.1
6 years ago
bcambl 14ebb2fb93 remove 'System' from NetworkManager connection name
6 years ago
Clayton Dobbs 3261c2e273
Added check for universe repo on ubuntu bionic with user prompts.
6 years ago
bcambl c3804877ed linting: Double quote to prevent globbing and word splitting.
6 years ago
bcambl c0bc93c7c4 break dhcpcd and ifcfg network configurations into separate functions
6 years ago
DL6ER e1c3c53058
Merge branch 'release/v4.1' into fix/adlists.list_not_created
6 years ago
Dan Schaper 057fbfc2b9
Change field from digit to string for printf
6 years ago
DL6ER 33156071cd
Fix literal "choice" being passed to appendToListsFile()
6 years ago
Dan Schaper e8c2e26358
Override shellcheck with explanations.
6 years ago
Dan Schaper 61c67849d7
Support multiple distributions and release versions in find_IPv4_information().
6 years ago
Mark Drobnak 2cdbb34763
Merge pull request #2488 from pi-hole/feature/command_function
6 years ago
Mark Drobnak 1789a2db29
Merge pull request #2384 from pi-hole/feature/install-privacy-level
6 years ago
Dan Schaper c270b83341
Use printf instead of echo
6 years ago
Dan Schaper 02f0788033
Moved `command -v` calls to function.
6 years ago
Dan Schaper 9d2d45b473
Query php directly for major and minor version id strings.
6 years ago
Dan Schaper 0c892e6b3a
Addressed Stickler ShellCheck lints
6 years ago
Dan Schaper a0fc38d6a2
All terminal echo commands changed to printf.
6 years ago
bcambl e7e03e36de fix pihole user creation function
6 years ago
Adam Warner cc2f375b13
fix for #2450
6 years ago
Mark Drobnak a89615365e
Merge pull request #2410 from stuartskelton/norton_dns_EOL_2018_11_15
6 years ago
Stuart Skelton 3c36c22ca8 Remove Norton Connect Safe as its EOL 2018-11-15
6 years ago
Mark Drobnak 6f276ae4bb
Merge pull request #2299 from nullr0ute/net-tools
6 years ago
Mark Drobnak 3cea1bd423
Fix lighttpd v1.4.50 crashing on startup
6 years ago
bcambl c58e3acc78 add unsupported RPM distro warnings
6 years ago
bcambl 6f8e8e98bb update centos version check test
6 years ago
bcambl 24b4aabae9 allow installer to continue with additional rpm based distros
6 years ago
DL6ER 1813c25117
If config file was backed up: Print info message
6 years ago
Mcat12 5d0d7336ff
Echo with newline when setting privacy level
6 years ago
Mcat12 6a26a05dbf
Fix privacy level whiptail option format
6 years ago
Mcat12 4aafa8cf47
Set the FTL privacy level during install
6 years ago
DL6ER 28c6b1393f
Backup existing /etc/dnsmasq.conf if present and ensure that /etc/dnsmasq.conf contains only "conf-dir=/etc/dnsmasq.d"
6 years ago
Realtebo 0d1b3cee4f Enable FTL service before starting it
6 years ago
Mirko Tebaldi 476fecbcf5 Fixed typos as suggestes
6 years ago
Mirko Tebaldi 327b58fa03
Merge pull request #1 from pi-hole/development
6 years ago
DL6ER d3eea9404d
Merge pull request #2331 from pi-hole/tweak/improve_FTL_download_errormsg
6 years ago
Realtbo d9195970b7 Create adlist file while running unattended setup
6 years ago
Mark Drobnak ef8aaba014
Merge pull request #2320 from TronPaul/fix/no-tty
6 years ago
DL6ER f5c3dc5d9d
Improve download error message that is shown when downloading or verifying the binary failed
6 years ago
Mcat12 e01eea8ba8
Remove PowerPC from FTL binaries
6 years ago
Dan Schaper 5b628a4c77
Merge branch 'development' into release/v4.0
6 years ago
Mark McGuire 0081a7ca92 set noninteractive during unattended install
6 years ago
Dan Schaper 993beab3b7
Changed wording.
6 years ago
Dan Schaper 06875f2cc9
Merge branch 'release/v4.0' into fix/parse_pihole-FTL.conf
6 years ago
Dan Schaper 448fc7231c
Installed to `/etc/pihole` as PI_HOLE_CONFIG_DIR variable.
6 years ago
Dan Schaper d0d030bafc
Moved file creation to proper function. Included bash variables for file
6 years ago
Dan Schaper 833131e15f
Merge pull request #2315 from pi-hole/fix/regex-file-ownership
6 years ago
Dan Schaper fb2810557a
Allow web user group to access regex.list
6 years ago
Mcat12 57af0ba0a4
Use `install` to make the regex file
6 years ago
Dan Schaper 17c1e64f7e
Moved FTL configuration copy in to scripts copy function.
6 years ago
Dan Schaper af13ceac24
Touch file as ${USER} instead of copying template.
6 years ago
Mcat12 a55cc55338
Only `touch` the regex file if it doesn't already exist
6 years ago
Dan Schaper b2fb3fd35a
Merge pull request #2310 from pi-hole/feature/pihole-FTL.conf
6 years ago
Mcat12 1a8d5fb4a9
Allow PHP to edit the regex file if installed
6 years ago
Mcat12 c73b5456eb
Fix "which" error leaking
6 years ago
Mcat12 3d87398721
Fix `check_service_active` leaking error output
6 years ago
Mark Drobnak 47b56d6123
Fix wrong git command flag
6 years ago
Dan Schaper 512d2dd5f8
Source git repo and not /opt location.
6 years ago
Dan Schaper ad20d5ac1c
Remove -t SOURCE and DIRECTORY reversal flag on install.
6 years ago
Dan Schaper b79ff05e29
Move template files to own subdir. Include pihole-FTL.conf in templates.
6 years ago
Borats Nolan 32b50f8188 Change the word "folder" to "directory" since the pi-hole is intended to run on rpi with Linux on it.
6 years ago
Dan Schaper 32cf94fc74
Merge pull request #2297 from pi-hole/bugfix/locales
6 years ago
Adam Warner 9b1356ad01
Revert #2282
6 years ago
Peter Robinson 45521b377a Use ip route rather than old net-tools route in chronometer.sh
6 years ago
Dan Schaper 46a366635c
Fixed locale issue, do not parse for string.
6 years ago
Dan Schaper 1877128fc4
Removes empty comment lines in basic-install.sh
6 years ago
Mark Drobnak 9cd674b528
Merge pull request #2282 from RamSet/tweak/Port53
6 years ago
RamSet 5aea7eb860 corrected function indentation
6 years ago
Mark Drobnak ec30df2020
Merge pull request #2277 from bcambl/centos_fedora_fixes
6 years ago
RamSet bb33427c79 fixed parsing error
6 years ago
RamSet 28a16cebda Addressed lint errors.
6 years ago
RamSet 49c79405bc changed flag and variable name
6 years ago
RamSet 3098f32a07 Fixed intentation and corrected comments.
6 years ago
Dan Schaper 69e06d89ff
Added missing for sourced file.
6 years ago
RamSet 56b04017e7 Port 53 check updated with 4 spaces.
6 years ago
bcambl fa9ecbdb81 add php-json to Fedora web deps
6 years ago
bcambl 2bf6b29b8f trigger an install/upgrade of PHP after enabling the Remi repository
6 years ago
Dan Schaper 9dba9fb366
Convert multiline echos to individual echo statements so they don't lead with different amounts of space.
6 years ago
Dan Schaper a323b126e5
Finished space conversion
6 years ago
Mark Drobnak 0651f1bcd4
Merge pull request #2220 from rrobgill/installedphpcheck
6 years ago
Rob Gill 11f0ade921
comments
6 years ago
Rob Gill 6381bdbf33
don't use major.minor for PHP 5
6 years ago
Mcat12 4a75566a3b
Merge remote-tracking branch 'origin/development' into tweak/32bitOS_on_64bitCPU
6 years ago
Rob Gill 52aa52c3b1
remove duplicate declaration
6 years ago
Mark Drobnak 6689e00e6a
Merge pull request #2212 from rrobgill/man-pages
6 years ago
Rob Gill a3569d88c9
Version strings & bash.
6 years ago
Adam Warner f2f6b6ede9
stickler complaints
6 years ago
Adam Warner 7f81cfd45a
Stats can still be generated without logging, no need for this sentence
6 years ago
Rob Gill 13b8e1a2ae
quotes.
6 years ago
Rob Gill 36dbdf955d
Update basic-install.sh
6 years ago
Rob Gill 714b6c98ef
codacy
6 years ago
Rob Gill 7181d7ae6a
Left that fi
6 years ago
Rob Gill 9422d57283
Check version of installed php
6 years ago
Dan Schaper feba4da0b8
Merge pull request #2161 from pi-hole/centos_remi-php7
6 years ago
Rob Gill ed7ebfd58d man page for pihole-FTL
6 years ago
Mark Drobnak 23fbb3cf22
Merge pull request #2205 from rrobgill/manual-page
6 years ago
Rob Gill 9970f3786f
Requested change
6 years ago
Rob Gill ef65bac79b
change status from INFO to CROSS
6 years ago
Rob Gill c0837c726f
blank space
6 years ago
Rob Gill ce5429aba7
stickler
6 years ago
Rob Gill aa191e9202
Update basic-install.sh
6 years ago
Rob Gill a8f0283e93
Update basic-install.sh
6 years ago
Rob Gill a8103ca22d
Manual page install function
6 years ago
Mark Drobnak 1a30043776
Merge pull request #1768 from Al2Klimov/bugfix/install-invalid-user
6 years ago
Alexander A. Klimov 3be1904653 basic-install.sh: fix "install: invalid user ''"
6 years ago
Rob Gill 20ccb7b558
move & clarify comments
6 years ago
Rob Gill 8cfe89604a
user-facing messages
6 years ago
Rob Gill c400b914e5
Update basic-install.sh
6 years ago
Rob Gill a431c829cb
Regex & case fix
6 years ago
Rob Gill 25d0e125e5
relocate as function
6 years ago
Rob Gill b89a78ce17
message text
6 years ago
Rob Gill adf2275018
unbind resolved on ubuntu 18.04
6 years ago
bcambl ec3802c180 add 'which' dependency (missing on Fedora minimal)
6 years ago
Adam Warner 76654c7856
Actually check for dnsmasq's existence before attempting to interact with it's service
6 years ago
Adam Warner a6e4b0fea5
- Test for existence of remote non-master branch of FTL before attemtping to check for update
6 years ago
bcambl 8ad37af70e CentOS install re-worked to include PHP7 via Remi repository
6 years ago
Adam Warner a07891e3e6
0 is not 1!!
6 years ago
Adam Warner e946a35b18
Move dnsmasq check into FTLcheckUpdate
6 years ago
Adam Warner 68d7337f98
switch up dnsmasq detection logic
6 years ago
Adam Warner 8b4198fd8d
Merge pull request #1835 from Fauxsys/development
6 years ago
Adam Warner e17e69604c
Merge branch 'development' into new/RemoveDefaultBlocklists
6 years ago
Adam Warner 0c8a32b9ae
No need to stop services
6 years ago
Adam Warner d8c60aaae7
Merge pull request #2142 from bcambl/fix_fedora_ip_check
6 years ago
Adam Warner 3216d65353
Merge branch 'development' into new/RemoveDefaultBlocklists
6 years ago
bcambl 1d8ea9e869 Fix static IP checking on Fedora
6 years ago
Adam Warner 8ead0b5483
@fourdee dropped this: `/`
6 years ago
Fauxsys 72c081cfd6 Fix for unattended installations #1767 #1768 #1834
6 years ago
Dan acfc49fd41
Merge branch 'development' into Install-Web-Server
6 years ago
Daniel (Fourdee) 60bcca54eb Minor
6 years ago
Daniel (Fourdee) eccea8a911 Minor
6 years ago
Michele Bologna 55fce489bc Fix: add psmisc as dependency
6 years ago
Daniel (Fourdee) c2c1dc7469 Ensuring bot pleasure
6 years ago
Daniel (Fourdee) 47c1071bb8 Minor
6 years ago
Daniel (Fourdee) e401651f09 Update https://github.com/pi-hole/pi-hole/pull/2115
6 years ago
Adam Warner 7455ac9bfb
Run chooseBlocklists on EVERY reconfigure, not only if the adlist file does not esist.
6 years ago
Adam Warner b6b1dcb275
delete adlists.list if user cancels out of this dialog
6 years ago
Adam Warner 2e4f49a223
Default all to on, change up wording. This commit can be rolled back, it's just an option!
6 years ago
Adam Warner 88d4108f92
- Add new whipstail to choose from example blocklists on new install
6 years ago
Daniel (Fourdee) 3a483a1b20 install_web_server
6 years ago
Adam Warner 310d33b8ee
Merge dev > FTLDNS fix merge conflicts
6 years ago
Mark Drobnak 331472b592
Merge pull request #1999 from pi-hole/tweak/RedundantInstallCode
6 years ago
Adam Warner f37b2bc7c1
move call to `get_binary_name` into `FTLcheckUpdate()` to avoid having to run that first
6 years ago
Adam Warner b1d6c03190
Break out binary name funtion to it's own function
6 years ago
Everett Southwick a8b493cb7d Add support for public Cloudflare DNS servers.
6 years ago
Mark Drobnak a1d6ef04ec
Merge pull request #1758 from mettacrawler/fix-for-RHELish-ifcfg
6 years ago
Adam Warner 238a56cac3
Remove CreateLogFile function, as this is handled by the FTL service
6 years ago
Adam Warner 51765b1f65
chown pihole log to pihole:pihole, rather than pihole:root
6 years ago
Mark Drobnak e131395cce
Merge pull request #2037 from justinamcafee/master
6 years ago
Adam Warner d26ea2b948
remove trailing whitespace
6 years ago
Adam Warner e2e8b733a8
tidy up function
6 years ago
Adam Warner f18bf35b20
use `systemctl is-enabled` to check enabled status of service
6 years ago
Adam Warner 44d8cb77e3
Kill off `mask_service` function
6 years ago
Adam Warner b92ccb2de4
Additionally `mask` the dnsmasq service on systems with systemctl
6 years ago
justinamcafee 30af6e73be
added ;; to line 825
6 years ago
justinamcafee 2895b9bfb7
Added support for FamilyShield from OpenDNS
6 years ago
Adam Warner 84bd86f1ee
- Test to see if dnsmasq service is enabled before stopping and disabling it.
6 years ago
Adam Warner 7193f40b87
remove libnettle, missed a >/dev/null
6 years ago
Adam Warner acd69fa4b0
silence push/popd
6 years ago
Adam Warner 6584933e92
fix stickler complaints
6 years ago
Adam Warner 8cf8da4c78
- Check file /etc/pihole/ftlbranch for current FTL branch, download from github if master, or pi-hole.net if other
6 years ago
Adam Warner cadab61a21
Merge branch 'development' into FTLDNS
6 years ago
Dan Schaper 3425b9a82e
Fix mktmp > mktemp
6 years ago
DL6ER fcdc85eab8
Remove dnsmasq from dependencies
6 years ago
Dan Schaper 4606693e62
Use pushd/popd and create random temporary directory to prevent potential backdoor binary injection.
6 years ago
Adam Warner e61d8e4fb8
adlists.default no longer used. No need to reference it.
6 years ago
DL6ER 8b79017d0f
Always replace pihole-FTL.service
6 years ago
DL6ER 5465ac9ba0
Merge pull request #1929 from pi-hole/fix/flushDB
6 years ago
Mark Drobnak 3472241289
Merge pull request #1962 from floek/master
6 years ago
Florian Freund a944b6ff79 Fixes https://github.com/pi-hole/pi-hole/issues/1772
6 years ago
Sebastian Pucilowski c5a2ca5c98 Trivial spelling mistakes in basic-install.sh comments
6 years ago
Elias Ojala 2b6d9c34c9 Fixed a typo
6 years ago
DL6ER 158ea1d43b
Add sqlite3 dependency
6 years ago
Mark Drobnak 535b8458d4
Merge pull request #1901 from bcambl/epel_check
6 years ago
Dan Schaper 9543203610
Echo the right location for the log.
6 years ago
Dan Schaper cacfe4d387
Linting changes
6 years ago
Dan Schaper a7f0137e5f
Use more secure installation log process.
6 years ago
Dan Schaper b2eb364a4b
Update header
6 years ago
Dan Schaper bb3b1bc6ba
Move ascii berry to after root check, stops the double berry for the sudo refire.
6 years ago
bcambl cc47bf8f6c Fix epel-release install for CentOS
7 years ago
DL6ER a154f1540f
Merge pull request #1778 from loganaden/development
7 years ago
DL6ER 677033afca
Force update of "remote" part in th update checker (may take up to 24hrs for new installs otherwise)
7 years ago
Adam Warner 95e5baa967
Source setup vars before we attempt to do anything on an update/repair
7 years ago
DL6ER f89f7ecd3e
Randomize GitHub API update check time
7 years ago
Dan Schaper 29ee8250e9
Change package install notification from CROSS to TICK.
7 years ago
Dan Schaper 863ea7294f
Merge pull request #1815 from pi-hole/release/3.2
7 years ago
bcambl f89d69b081 check NetworkManager status prior to using the cli (#1653)
7 years ago
Adam Warner 79aada0b87
travis didn't like that
7 years ago
Adam Warner 69dc22c10f
fix some codacy and intelliJ idea complaints
7 years ago
Adam Warner dd6a9a0b84
supress output of `which command` on centos/fedora as per https://github.com/pi-hole/pi-hole/pull/1776#discussion_r155156819
7 years ago
Adam Warner 945dcc6c2b
Indent two spaces as per https://github.com/pi-hole/pi-hole/pull/1776#discussion_r155157116
7 years ago
Adam Warner f60791ac7c
Add dependencies as per https://github.com/pi-hole/pi-hole/pull/1776#discussion_r155149349
7 years ago
Adam Warner b64155a165
Add in an extra check to enable lighttpd.
7 years ago
Loganaden Velvindron 9c8526db49 Add secondary quad9 server
7 years ago
Terror 616962200a
Update the list size to show all the options
7 years ago